gcc/testsuite/gcc.target/i386/pr44948-1b.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O -mno-avx -Wno-psabi -mtune=generic" } */ |
| 3 | |
| 4 | struct A { long b[8] __attribute__((aligned (32))); }; |
| 5 | |
| 6 | void |
| 7 | foo (long double x, struct A y) |
| 8 | { |
| 9 | int i; |
| 10 | if (x != 8.0L) |
| 11 | __builtin_abort (); |
| 12 | for (i = 0; i < 8; i++) |
| 13 | if (y.b[i] != i) |
| 14 | __builtin_abort (); |
| 15 | } |