public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8243] testsuite: add additional option to force DSE execution [PR103662]
@ 2022-04-25 11:32 Mikael Morin
  0 siblings, 0 replies; only message in thread
From: Mikael Morin @ 2022-04-25 11:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6cc26f3037a18b9a958b4ac2a1363149a7fccd39

commit r12-8243-g6cc26f3037a18b9a958b4ac2a1363149a7fccd39
Author: Mikael Morin <mikael@gcc.gnu.org>
Date:   Mon Apr 25 13:14:20 2022 +0200

    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.

Diff:
---
 gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_3.f03
index 780d68cdd87..4104de6ac68 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-25 11:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 11:32 [gcc r12-8243] testsuite: add additional option to force DSE execution [PR103662] Mikael Morin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).