gfortran: Rely on dg-do-what-default to avoid running pr85853.f90, pr107254.f90 and vect-alias-check-1.F90 on non-vector targets

Testcases in gfortran.dg/vect/vect.exp rely on
check_vect_support_and_set_flags to set dg-do-what-default and avoid
running vector tests on non-vector targets. The three testcases in this
patch overwrite the default with dg-do run which causes issues
for non-vector targets.

Removing the dg-do run directive resolves this issue for non-vector
targets (while still running the tests on vector targets).

gcc/testsuite/ChangeLog:

	* gfortran.dg/vect/pr107254.f90: Remove dg-do run directive.
	* gfortran.dg/vect/pr85853.f90: Ditto.
	* gfortran.dg/vect/vect-alias-check-1.F90: Ditto.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
This commit is contained in:
Patrick O'Neill 2023-11-02 10:20:43 -07:00
parent 7adb7c6ea4
commit f1b2f3a7e0
No known key found for this signature in database
GPG key ID: A021A255BA0CDD04
3 changed files with 0 additions and 4 deletions

View file

@ -1,5 +1,3 @@
! { dg-do run }
subroutine dlartg( f, g, s, r )
implicit none
double precision :: f, g, r, s

View file

@ -1,5 +1,4 @@
! Taken from execute/where_2.f90, but with special flags.
! { dg-do run }
! { dg-additional-options "-fno-tree-loop-vectorize" }
! Program to test the WHERE constructs

View file

@ -1,4 +1,3 @@
! { dg-do run }
! { dg-additional-options "-fno-inline" }
#define N 200