PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr44948-1a.c
blobdb58c04c44f5272aca1ee3debf4493583bd99f72
1 /* PR target/44948 */
2 /* { dg-do run } */
3 /* { dg-options "-O -Wno-psabi -mtune=generic" } */
4 /* { dg-require-effective-target avx_runtime } */
5 /* { dg-additional-sources pr44948-1b.c } */
7 #pragma GCC target ("avx")
9 struct A { long b[8] __attribute__((aligned (32))); };
10 void foo (long double, struct A);
12 int
13 main (void)
15 struct A a = { { 0, 1, 2, 3, 4, 5, 6, 7 } };
16 foo (8.0L, a);
17 return 0;