2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59021.c
bloba1df27b105e0c9409911bdfa9024fdd11221ac25
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx -mvzeroupper" } */
4 extern void abort (void);
6 struct S {
7 int i1;
8 int i2;
9 int i3;
12 typedef double v4df __attribute__ ((vector_size (32)));
14 extern int foo (v4df, int i1, int i2, int i3, int i4, int i5, struct S s);
16 void bar (v4df v, struct S s)
18 int r = foo (v, 1, 2, 3, 4, 5, s);
19 if (r)
20 abort ();
23 /* { dg-final { scan-assembler-not "vzeroupper" } } */