gcc/testsuite/gcc.c-torture/compile/pr49206.c
raw| 1 | /* { dg-require-effective-target untyped_assembly } */ |
| 2 | /* { dg-additional-options "-fpermissive" } */ |
| 3 | |
| 4 | struct S1 |
| 5 | { |
| 6 | short f0; |
| 7 | }; |
| 8 | extern volatile struct S1 g_5; |
| 9 | extern int g_120, i; |
| 10 | extern short g_339; |
| 11 | |
| 12 | int |
| 13 | func_72 (int x, int y, struct S1 z) |
| 14 | { |
| 15 | for (z.f0 = -3; z.f0 > 16; z.f0 += 1) |
| 16 | foo (); |
| 17 | return g_120; |
| 18 | } |
| 19 | |
| 20 | int |
| 21 | main () |
| 22 | { |
| 23 | while (g_339 % 0x200003) |
| 24 | continue; |
| 25 | if (i) |
| 26 | func_72 (0, 0, g_5); |
| 27 | foo (&g_339); |
| 28 | return 0; |
| 29 | } |