From 25bfebe0d076be6c50f52fb45fe62935caea5af9 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 18 Nov 2019 13:54:11 +0100 Subject: [PATCH] Remove strange dump suboptions in testsuite. 2019-11-18 Martin Liska * gcc.dg/ipa/ipa-icf-36.c: Remove 'all-all-all'. * gcc.dg/ipa/ipa-icf-37.c: Likewise. From-SVN: r278404 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/ipa/ipa-icf-36.c | 4 +++- gcc/testsuite/gcc.dg/ipa/ipa-icf-37.c | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b6330cb57af..2f5874b8a3f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-11-18 Martin Liska + + * gcc.dg/ipa/ipa-icf-36.c: Remove 'all-all-all'. + * gcc.dg/ipa/ipa-icf-37.c: Likewise. + 2019-11-18 Richard Biener PR tree-optimization/92558 diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-36.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-36.c index e630b6dc140..e1f26302cc7 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-36.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-36.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-ipa-icf-optimized-all-all-all-all -fmerge-all-constants" } */ +/* { dg-options "-O2 -fdump-ipa-icf-optimized -fmerge-all-constants" } */ + static int a; static int b; static const int c = 2; @@ -28,6 +29,7 @@ int t(int tt) case 11: return k[0]; } } + /* { dg-final { scan-ipa-dump "Equal symbols: 6" "icf" } } */ /* { dg-final { scan-ipa-dump "Semantic equality hit:a->b" "icf" } } */ /* { dg-final { scan-ipa-dump "Semantic equality hit:c->d" "icf" } } */ diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-37.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-37.c index e482bd275d9..b3816552e7f 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-37.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-37.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-ipa-icf-optimized-all-all-all-all" } */ +/* { dg-options "-O2 -fdump-ipa-icf-optimized" } */ + static int a; static int b; static const int c = 2; @@ -28,6 +29,7 @@ int t(int tt) case 11: return k[0]; } } + /* { dg-final { scan-ipa-dump "Equal symbols: 5" "icf" } } */ /* { dg-final { scan-ipa-dump "Semantic equality hit:a->b" "icf" } } */ /* { dg-final { scan-ipa-dump "Semantic equality hit:c->d" "icf" } } */ -- 2.30.2