x86-64-v3 requires AVX2 effective target and AVX2 specific avx2-check.h.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr107432-9.c: Require AVX2 effective target.
Include avx2-check.h instead of avx-check.h. Define TEST to avx2_test.
/* { dg-do run } */
/* { dg-options "-march=x86-64-v3 -O2 -flax-vector-conversions" } */
+/* { dg-require-effective-target avx2 } */
+
#include <x86intrin.h>
-#include "avx-check.h"
+#include "avx2-check.h"
#ifndef TEST
-#define TEST avx_test
+#define TEST avx2_test
#endif
typedef short __v2hi __attribute__ ((__vector_size__ (4)));