]> 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)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 22 Nov 2023 05:02:04 +0000 (22:02 -0700)
commitc3fe693428485bf9408915efa78acddcd056d7cb
treef7ead7a6e4b624623e3dbcf161323418e4264d8b
parentfbe625426392f994402024b11d3c6f2ca6ba0994
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>
(cherry picked from commit f1b2f3a7e0638c450129ea099baa42cbf290e313)
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.067853 seconds and 6 git commands to generate.