From 29fe1a72cb716f18d179e732cc28108eb2e29fec Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 16 Oct 2014 17:19:16 +0200 Subject: [PATCH] IPA ICF fallout: fix for two ipa-icf-*.C tests * g++.dg/ipa/ipa-icf-4.C: Correct number of equivalences set. * g++.dg/ipa/ipa-icf-5.C: Likewise From-SVN: r216335 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ipa/ipa-icf-4.C | 2 +- gcc/testsuite/g++.dg/ipa/ipa-icf-5.C | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fedb62222e1..910840d40de 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-10-16 Martin Liska + + * g++.dg/ipa/ipa-icf-4.C: Correct number of equivalences set. + * g++.dg/ipa/ipa-icf-5.C: Likewise + 2014-10-16 Oleg Endo PR target/63260 diff --git a/gcc/testsuite/g++.dg/ipa/ipa-icf-4.C b/gcc/testsuite/g++.dg/ipa/ipa-icf-4.C index 9d178893341..94342896773 100644 --- a/gcc/testsuite/g++.dg/ipa/ipa-icf-4.C +++ b/gcc/testsuite/g++.dg/ipa/ipa-icf-4.C @@ -44,5 +44,5 @@ int main() } /* { dg-final { scan-ipa-dump "Varpool alias has been created" "icf" } } */ -/* { dg-final { scan-ipa-dump "Equal symbols: 2" "icf" } } */ +/* { dg-final { scan-ipa-dump "Equal symbols: 6" "icf" } } */ /* { dg-final { cleanup-ipa-dump "icf" } } */ diff --git a/gcc/testsuite/g++.dg/ipa/ipa-icf-5.C b/gcc/testsuite/g++.dg/ipa/ipa-icf-5.C index 728df20a390..7dbce88f597 100644 --- a/gcc/testsuite/g++.dg/ipa/ipa-icf-5.C +++ b/gcc/testsuite/g++.dg/ipa/ipa-icf-5.C @@ -19,6 +19,5 @@ int main() return myarray.a - myarray_alias.a; } -/* { dg-final { scan-ipa-dump "Varpool alias cannot be created \\(alias cycle\\)." "icf" } } */ -/* { dg-final { scan-ipa-dump "Equal symbols: 1" "icf" } } */ +/* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf" } } */ /* { dg-final { cleanup-ipa-dump "icf" } } */ -- 2.30.2