Split print_rtx into subroutines
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71084.c
blob392c5ca2394643be1f86b6e5cd99f1a21d51e84a
1 /* PR tree-optimization/71084 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 __extension__ typedef __INTPTR_TYPE__ intptr_t;
7 void babl_format (void);
8 void gimp_drawable_get_format (void);
9 int _setjmp (void);
11 enum {
12 GIMP_RGB_IMAGE,
13 GIMP_RGBA_IMAGE,
14 GIMP_GRAY_IMAGE,
15 GIMP_GRAYA_IMAGE,
16 GIMP_INDEXED_IMAGE
17 } run_i;
19 int run_height;
21 void fn1 ()
23 int type, width;
24 if (_setjmp ())
25 switch (type)
27 case GIMP_RGB_IMAGE:
28 babl_format ();
29 case GIMP_RGBA_IMAGE:
30 case GIMP_GRAY_IMAGE:
31 babl_format ();
32 case GIMP_GRAYA_IMAGE:
33 case GIMP_INDEXED_IMAGE:
34 gimp_drawable_get_format();
36 for (; run_height;)
37 for (; run_i < (long)(intptr_t)fn1; ++run_i)
38 for (; width;)