1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do compile } */ /* { dg-options "-O2 -mavx -mtune=generic -dp" } */ extern void exit (int) __attribute__ ((__noreturn__)); extern void bar (void); int foo (int i) { if (i == 0) { bar (); exit (1); } return 0; } /* { dg-final { scan-assembler-not "avx_vzeroupper" } } */