]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use dg-additional-options for gfortran.dg/vect/vect-8.f90 and RISC-V
authorRichard Biener <rguenther@suse.de>
Wed, 4 Sep 2024 14:00:00 +0000 (16:00 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 4 Sep 2024 14:02:42 +0000 (16:02 +0200)
r14-9122-g67a29f99cc8138 disabled scheduling on a lot of testcases
for RISC-V for PR113249 but using dg-options.  This makes
gfortran.dg/vect/vect-8.f90 UNRESOLVED as it relies on default
flags to enable vectorization.

The following uses dg-additional-options instead.

Tested on riscv64-linux with qemu-user, pushed.

I didn't check all the other adjusted tests for similar issues.

* gfortran.dg/vect/vect-8.f90: Use dg-additional-options.

gcc/testsuite/gfortran.dg/vect/vect-8.f90

index f77ec9fb87a7223be01de61a7bfb578547d77186..557a523e2bd8bfaeb5eda35a1d8904a8d16fb0fc 100644 (file)
@@ -2,7 +2,7 @@
 ! { dg-require-effective-target vect_double }
 ! { dg-additional-options "-fno-tree-loop-distribute-patterns -finline-matmul-limit=0" }
 ! PR113249
-! { dg-options "-fno-schedule-insns -fno-schedule-insns2" { target { riscv*-*-* } } }
+! { dg-additional-options "-fno-schedule-insns -fno-schedule-insns2" { target { riscv*-*-* } } }
 
 module lfk_prec
  integer, parameter :: dp=kind(1.d0)