[OBVIOUS] Fix scan in ipa-icf-38.c.

Message ID 9d116790-7659-a3ac-f627-71b01503f7b6@suse.cz
State New
Headers show
Series
  • [OBVIOUS] Fix scan in ipa-icf-38.c.
Related show

Commit Message

Martin Liška June 8, 2018, 11:24 a.m.
Hi.

One obvious patch: scan proper dump file in ltrans of a LTO test-case.

Martin

gcc/testsuite/ChangeLog:

2018-06-08  Martin Liska  <mliska@suse.cz>

	* gcc.dg/ipa/ipa-icf-38.c: Scan optimized tree dump.
---
 gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

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" } } */