Fix dump scanning in g++.dg/ipa/devirt-42.C
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 12 Nov 2014 02:05:06 +0000 (02:05 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 12 Nov 2014 02:05:06 +0000 (18:05 -0800)
* g++.dg/ipa/devirt-42.C: Fix dump scanning for "return 2".

From-SVN: r217402

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-42.C

index 55511f5aa465df0648c15b0b400e74987aaab425..3a28954294c2f1d22cde0e379ded9bda6f74c72d 100644 (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>
 
index a97a30a5f39b6bbd2564fc83a632da5bd427cfd1..93eb02f13101e366b682db7dfdf1f0e4a984818a 100644 (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" } } */