gcc/testsuite/gcc.target/i386/pr45234.c
raw| 1 | /* PR middle-end/45234 */ |
| 2 | /* { dg-do compile { target ia32 } } */ |
| 3 | /* { dg-options "-march=i586" } */ |
| 4 | |
| 5 | struct S { union { double b[4]; } a[18]; } s, a[5]; |
| 6 | void foo (struct S); |
| 7 | struct S bar (struct S, struct S *, struct S); |
| 8 | |
| 9 | void |
| 10 | foo (struct S arg) |
| 11 | { |
| 12 | } |
| 13 | |
| 14 | void |
| 15 | baz (void) |
| 16 | { |
| 17 | foo (bar (s, &a[1], a[2])); |
| 18 | } |