aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2022-04-25 13:14:20 +0200
committerMikael Morin <mikael@gcc.gnu.org>2022-04-25 13:26:18 +0200
commit6cc26f3037a18b9a958b4ac2a1363149a7fccd39 (patch)
tree710144337309ac37d5926f52ef7454ce96fc80f6
parentf0e170f72f8bfaa2a64e1d09ebdfd48f917420f1 (diff)
downloadgcc-6cc26f3037a18b9a958b4ac2a1363149a7fccd39.zip
gcc-6cc26f3037a18b9a958b4ac2a1363149a7fccd39.tar.gz
gcc-6cc26f3037a18b9a958b4ac2a1363149a7fccd39.tar.bz2
testsuite: add additional option to force DSE execution [PR103662]
This fixes a dump tree match check that is UNRESOLVED with the -O0 optimization option, as the optimization pass corresponding to the dump file is not run at -O0, and the dump is not generated. PR fortran/103662 gcc/testsuite/ChangeLog: * gfortran.dg/unlimited_polymorphic_3.f03: Force execution of the DSE optimization pass.
-rw-r--r--gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f032
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03
index 780d68c..4104de6 100644
--- a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03
+++ b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03
@@ -1,5 +1,5 @@
! { dg-do run }
-! { dg-additional-options "-fdump-tree-dse-details" }
+! { dg-additional-options "-ftree-dse -fdump-tree-dse-details" }
!
! Check that pointer assignments allowed by F2003:C717
! work and check null initialization of CLASS(*) pointers.