summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c b/gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c
new file mode 100644
index 00000000000..86d2fb52d5b
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/avx2-pr63594-2.c
@@ -0,0 +1,18 @@
+/* PR target/63594 */
+/* { dg-do run { target avx2 } } */
+/* { dg-options "-O2 -mavx2 -mno-mmx -Wno-psabi" } */
+
+#include "avx2-check.h"
+
+int do_main (void);
+
+static void
+avx2_test (void)
+{
+ do_main ();
+}
+
+#undef main
+#define main() do_main ()
+
+#include "../../gcc.dg/pr63594-2.c"