This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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(-)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]