From d300d4c4ab09dfe15de988a153a06f41ca204ff6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 12 Nov 2014 02:05:06 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ipa/devirt-42.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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" } } */ -- 2.30.2