]> gcc.gnu.org Git - gcc.git/commit
gfortran: Rely on dg-do-what-default to avoid running pr85853.f90, pr107254.f90 and...
authorPatrick O'Neill <patrick@rivosinc.com>
Thu, 2 Nov 2023 17:20:43 +0000 (10:20 -0700)
committerPatrick O'Neill <patrick@rivosinc.com>
Tue, 21 Nov 2023 18:02:23 +0000 (10:02 -0800)
commitf1b2f3a7e0638c450129ea099baa42cbf290e313
tree3d38939d857f75447506c17e70aefeb5f12bd8ed
parent7adb7c6ea4cf3d7ea7867615a5a094c751715b14
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>
gcc/testsuite/gfortran.dg/vect/pr107254.f90
gcc/testsuite/gfortran.dg/vect/pr85853.f90
gcc/testsuite/gfortran.dg/vect/vect-alias-check-1.F90
This page took 0.086369 seconds and 5 git commands to generate.