]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite] require -Ofast for vect-ifcvt-18 even without avx
authorAlexandre Oliva <oliva@adacore.com>
Thu, 30 Jan 2025 22:43:31 +0000 (19:43 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 30 Jan 2025 22:43:31 +0000 (19:43 -0300)
commit2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c
tree27bfcb241422c21fb49fbaab128b0fd9d022f6d8
parent1e819a997dd5507e52cafc540656fc15160322fd
[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.
gcc/testsuite/gcc.dg/vect/vect-ifcvt-18.c