diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx2-pr57233.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx2-pr57233.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx2-pr57233.c b/gcc/testsuite/gcc.target/i386/avx2-pr57233.c new file mode 100644 index 00000000000..e0c8b96d28b --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx2-pr57233.c @@ -0,0 +1,18 @@ +/* PR tree-optimization/57233 */ +/* { dg-do run { target avx2 } } */ +/* { dg-options "-O2 -mavx2" } */ + +#include "avx2-check.h" + +int do_main (void); + +static void +avx2_test (void) +{ + do_main (); +} + +#undef main +#define main() do_main () + +#include "../../gcc.dg/pr57233.c" |