From: H.J. Lu Date: Wed, 12 Nov 2014 02:05:06 +0000 (+0000) Subject: Fix dump scanning in g++.dg/ipa/devirt-42.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d300d4c4ab09dfe15de988a153a06f41ca204ff6;p=gcc.git Fix dump scanning in g++.dg/ipa/devirt-42.C * g++.dg/ipa/devirt-42.C: Fix dump scanning for "return 2". From-SVN: r217402 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 55511f5aa46..3a28954294c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-11-11 H.J. Lu + + * g++.dg/ipa/devirt-42.C: Fix dump scanning for "return 2". + 2014-11-11 Anthony Brandon Manuel López-Ibáñez diff --git a/gcc/testsuite/g++.dg/ipa/devirt-42.C b/gcc/testsuite/g++.dg/ipa/devirt-42.C index a97a30a5f39..93eb02f1310 100644 --- a/gcc/testsuite/g++.dg/ipa/devirt-42.C +++ b/gcc/testsuite/g++.dg/ipa/devirt-42.C @@ -31,7 +31,7 @@ main() /* { dg-final { scan-ipa-dump-times "Discovered a virtual call to a known target" 2 "inline" } } */ /* Verify that speculation is optimized by late optimizers. */ -/* { dg-final { scan-tree-dump-times "return 2" 2 "optimized" } } */ +/* { dg-final { scan-tree-dump-times "return 2" 3 "optimized" } } */ /* { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" } } */ /* { dg-final { cleanup-ipa-dump "inline" } } */