Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr44948-1a.c

raw
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 } */
6
7 #pragma GCC target ("avx")
8
9 struct A { long b[8] __attribute__((aligned (32))); };
10 void foo (long double, struct A);
11
12 int
13 main (void)
14 {
15 struct A a = { { 0, 1, 2, 3, 4, 5, 6, 7 } };
16 foo (8.0L, a);
17 return 0;
18 }