From eb147cfbca3ec0005967eb37be65c3e9eafaeace Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 8 Jun 2018 13:25:19 +0200 Subject: [PATCH] Fix scan in ipa-icf-38.c. 2018-06-08 Martin Liska * gcc.dg/ipa/ipa-icf-38.c: Scan optimized tree dump. From-SVN: r261306 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c5510f140f6..d0c9e044ea2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-06-08 Martin Liska + + * gcc.dg/ipa/ipa-icf-38.c: Scan optimized tree dump. + 2018-06-08 Martin Liska * g++.dg/dg.exp: Do not use mpx.exp. diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c index 85531ab1cf3..788038a1c68 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c @@ -1,5 +1,5 @@ /* { dg-do link } */ -/* { dg-options "-O2 -fdump-ipa-icf -flto -fdump-tree-fixup_cfg4" } */ +/* { dg-options "-O2 -fdump-ipa-icf -flto -fdump-tree-optimized" } */ /* { dg-require-effective-target lto } */ /* { dg-additional-sources "ipa-icf-38a.c" }*/ @@ -29,5 +29,5 @@ int main() /* { dg-final { scan-wpa-ipa-dump "Semantic equality hit:foo->bar" "icf" } } */ /* { dg-final { scan-wpa-ipa-dump "Equal symbols: 1" "icf" } } */ -/* { dg-final { scan-ltrans-tree-dump "Function foo" "fixup_cfg4" } } */ -/* { dg-final { scan-ltrans-tree-dump-not "Function bar" "fixup_cfg4" } } */ +/* { dg-final { scan-ltrans-tree-dump "Function foo" "optimized" } } */ +/* { dg-final { scan-ltrans-tree-dump-not "Function bar" "optimized" } } */ -- 2.30.2