Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71084.c
blob46fdf9fbe5c25f2f99651d4cb898920bda9a29b6
1 /* PR tree-optimization/71084 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 void babl_format (void);
6 void gimp_drawable_get_format (void);
7 int _setjmp (void);
9 enum {
10 GIMP_RGB_IMAGE,
11 GIMP_RGBA_IMAGE,
12 GIMP_GRAY_IMAGE,
13 GIMP_GRAYA_IMAGE,
14 GIMP_INDEXED_IMAGE
15 } run_i;
17 int run_height;
19 void fn1 ()
21 int type, width;
22 if (_setjmp ())
23 switch (type)
25 case GIMP_RGB_IMAGE:
26 babl_format ();
27 case GIMP_RGBA_IMAGE:
28 case GIMP_GRAY_IMAGE:
29 babl_format ();
30 case GIMP_GRAYA_IMAGE:
31 case GIMP_INDEXED_IMAGE:
32 gimp_drawable_get_format();
34 for (; run_height;)
35 for (; run_i < (long)fn1; ++run_i)
36 for (; width;)