Compile PR 92645 test with -mno-avx to avoid FAIL: gcc.target/i386/pr92645.c scan-tree-dump-times optimized "vec_unpack_" 4
when AVX or AVX512 are enabled by default PR testsuite/126923 * gcc.target/i386/pr92645.c (dg-options): Add -mno-avx. -- H.J.
From 8cc23401f798c8420f8fadc95bc315619b24ff19 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <[email protected]> Date: Sat, 29 Aug 2026 07:50:35 +0800 Subject: [PATCH] x86: Compile PR 92645 test with -mno-avx Compile PR 92645 test with -mno-avx to avoid FAIL: gcc.target/i386/pr92645.c scan-tree-dump-times optimized "vec_unpack_" 4 when AVX or AVX512 are enabled by default PR testsuite/126923 * gcc.target/i386/pr92645.c (dg-options): Add -mno-avx. Signed-off-by: H.J. Lu <[email protected]> --- gcc/testsuite/gcc.target/i386/pr92645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr92645.c b/gcc/testsuite/gcc.target/i386/pr92645.c index 467ed536b94..830cbc96ff2 100644 --- a/gcc/testsuite/gcc.target/i386/pr92645.c +++ b/gcc/testsuite/gcc.target/i386/pr92645.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fdump-tree-optimized -msse2 -Wno-psabi" } */ +/* { dg-options "-O3 -fdump-tree-optimized -msse2 -mno-avx -Wno-psabi" } */ typedef unsigned short v8hi __attribute__((vector_size(16))); typedef unsigned int v4si __attribute__((vector_size(16))); -- 2.55.0
