gcc/testsuite/gcc.c-torture/compile/pr71436.c
raw| 1 | /* PR target/71436. */ |
| 2 | |
| 3 | #pragma pack(1) |
| 4 | struct S0 |
| 5 | { |
| 6 | volatile int f0; |
| 7 | short f2; |
| 8 | }; |
| 9 | |
| 10 | void foo (struct S0 *); |
| 11 | int a, d; |
| 12 | static struct S0 b[5]; |
| 13 | static struct S0 c; |
| 14 | void fn1 (); |
| 15 | void |
| 16 | main () |
| 17 | { |
| 18 | { |
| 19 | struct S0 e; |
| 20 | for (; d; fn1 ()) |
| 21 | { |
| 22 | { |
| 23 | a = 3; |
| 24 | for (; a >= 0; a -= 1) |
| 25 | { |
| 26 | { |
| 27 | e = c; |
| 28 | } |
| 29 | b[a] = e; |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | foo (b); |
| 35 | } |