aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2025-01-30 19:43:31 -0300
committerAlexandre Oliva <oliva@gnu.org>2025-01-30 19:43:31 -0300
commit2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c (patch)
tree27bfcb241422c21fb49fbaab128b0fd9d022f6d8 /gcc
parent1e819a997dd5507e52cafc540656fc15160322fd (diff)
downloadgcc-2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c.zip
gcc-2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c.tar.gz
gcc-2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c.tar.bz2
[testsuite] require -Ofast for vect-ifcvt-18 even without avx
The test expects transformations that depend on -Ofast on x86*, but that option is only passed when the avx_runtime is available. Split -Ofast out of the avx conditional, so that it is passed on the same targets that expect the transformation. for gcc/testsuite/ChangeLog * gcc.dg/vect/vect-ifcvt-18.c: Split -Ofast out of avx_runtime.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c
index c1d3c27..228011a 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c
@@ -1,6 +1,7 @@
/* { dg-require-effective-target vect_condition } */
/* { dg-require-effective-target vect_float } */
-/* { dg-additional-options "-Ofast -mavx" { target avx_runtime } } */
+/* { dg-additional-options "-Ofast" { target i?86-*-* x86_64-*-* } } */
+/* { dg-additional-options "-mavx" { target avx_runtime } } */
int A0[4] = {36,39,42,45};