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
This commit is contained in:
H.J. Lu 2014-11-12 02:05:06 +00:00 committed by H.J. Lu
parent 78366f5753
commit d300d4c4ab
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-11-11 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/ipa/devirt-42.C: Fix dump scanning for "return 2".
2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
Manuel López-Ibáñez <manu@gcc.gnu.org>

View File

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