gcc/testsuite/gcc.dg/torture/pr51070.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | int |
| 4 | func_4 (int si1, int si2) |
| 5 | { |
| 6 | return si1; |
| 7 | } |
| 8 | |
| 9 | int |
| 10 | func_14 (int left, int right) |
| 11 | { |
| 12 | return 1; |
| 13 | } |
| 14 | |
| 15 | int |
| 16 | func_37 (int left, int right) |
| 17 | { |
| 18 | return left; |
| 19 | } |
| 20 | |
| 21 | int g_92[1024]; |
| 22 | int g_95[1024]; |
| 23 | int g_224; |
| 24 | int g_352[1024]; |
| 25 | int |
| 26 | func_9 () |
| 27 | { |
| 28 | for (; g_224; g_224 += 1) |
| 29 | { |
| 30 | g_95[0] = func_4 (func_37 (g_92[g_224], 0), 0); |
| 31 | g_92[g_224] = 0, g_352[g_224] = func_14 (0, 0); |
| 32 | } |
| 33 | return 0; |
| 34 | } |