]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix expected messages in test
authorXinliang David Li <davidxl@google.com>
Thu, 22 May 2014 18:18:48 +0000 (18:18 +0000)
committerXinliang David Li <davidxl@gcc.gnu.org>
Thu, 22 May 2014 18:18:48 +0000 (18:18 +0000)
From-SVN: r210820

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-15.C
gcc/testsuite/g++.dg/ipa/devirt-16.C
gcc/testsuite/g++.dg/ipa/devirt-17.C
gcc/testsuite/g++.dg/ipa/devirt-26.C
gcc/testsuite/g++.dg/ipa/imm-devirt-1.C
gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
gcc/testsuite/g++.dg/tree-ssa/pr8781.C

index 84052373e9166755068b7b32e36c4c05d38fd85a..4e86b8dd6339c7e72d8fff552418824bc2845f63 100644 (file)
@@ -1,3 +1,13 @@
+2014-05-22  Xinliang David Li  <davidxl@google.com>
+
+       * g++.dg/ipa/devirt-15.C: Fix expected message.
+       * g++.dg/ipa/devirt-16.C: Ditto.
+       * g++.dg/ipa/devirt-17.C: Ditto.
+       * g++.dg/ipa/devirt-26.C: Ditto.
+       * g++.dg/ipa/imm-devirt-1.C: Ditto.
+       * g++.dg/ipa/imm-devirt-2.C: Ditto.
+       * g++.dg/tree-ssa/pr8781.C:Ditto.
+
 2014-05-22  Peter Bergner  <bergner@vnet.ibm.com>
 
        * gcc.target/powerpc/htm-ttest.c: New test.
index 2ea85f487f4d92ef22723d0974c8e4ef6e9a563f..924564661b8e83251e7b0468655483642f995aef 100644 (file)
@@ -1,7 +1,7 @@
 /* Check that we speculatively devirutalize call to FOO to B::foo becuase
    A is noreturn.  */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-devirt -fdump-tree-optimized"  } */
+/* { dg-options "-O2 -fdump-ipa-devirt-details -fdump-tree-optimized"  } */
 class A {
 public:
   virtual int foo(void)
@@ -33,7 +33,7 @@ main()
   m();
 }
 
-/* { dg-final { scan-ipa-dump "Speculatively devirtualizing call" "devirt"} } */
+/* { dg-final { scan-ipa-dump "speculatively devirtualizing call" "devirt"} } */
 /* { dg-final { cleanup-ipa-dump "devirt" } } */
 /* Match if (PROF_6 == foo) to verify that the speculation survived.  */
 /* { dg-final { scan-tree-dump "== foo" "optimized"} } */
index 85567867ff169345cda5357afecaf00ebd5c75c2..dd7696e6f55ff10c4d0b2376132cf4c4cdfe47ba 100644 (file)
@@ -1,7 +1,7 @@
 /* We shall devirtualize to unreachable.  No anonymous type method should surivve
    reachability.  */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-whole-program"  } */
+/* { dg-options "-O2 -fdump-ipa-whole-program-details"  } */
 namespace {
 class B {
 public:
@@ -32,7 +32,7 @@ main()
   return b->foo();
 }
 
-/* { dg-final { scan-ipa-dump "Devirtualizing" "whole-program"} } */
+/* { dg-final { scan-ipa-dump "devirtualizing" "whole-program"} } */
 /* { dg-final { scan-ipa-dump "builtin_unreachable" "whole-program"} } */
 /* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
 /* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
index 9edfd73af5644e0b1bbd157102e980dd484025e1..ce7943a8464b0a389b6dff3d1fe7f31034f01312 100644 (file)
@@ -1,7 +1,7 @@
 /* We shall devirtualize to B::foo since it is the only live candidate of an
    anonymous type.  */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-whole-program"  } */
+/* { dg-options "-O2 -fdump-ipa-whole-program-details"  } */
 namespace {
 class B {
 public:
@@ -37,7 +37,7 @@ main()
   return b->foo();
 }
 
-/* { dg-final { scan-ipa-dump "Devirtualizing" "whole-program"} } */
+/* { dg-final { scan-ipa-dump "devirtualizing" "whole-program"} } */
 /* { dg-final { scan-ipa-dump-not "builtin_unreachable" "whole-program"} } */
 /* { dg-final { scan-ipa-dump "B::foo" "whole-program"} } */
 /* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
index 2df429c34571c28105f7647a253263365af0ffb5..469a1402d2509a5c861d2492cbb4ff7bdb550c7c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fdump-ipa-devirt"  } */
+/* { dg-options "-O3 -fdump-ipa-devirt-details"  } */
 struct A
  {
    int a;
@@ -25,5 +25,5 @@ int test(void)
 /* The call to b->foo() is perfectly devirtualizable because C can not be in construction
    when &c was used, but we can not analyze that so far.  Test that we at least speculate
    that type is in the construction.  */
-/* { dg-final { scan-ipa-dump "Speculatively devirtualizing" "devirt"  } } */
+/* { dg-final { scan-ipa-dump "speculatively devirtualizing" "devirt"  } } */
 /* { dg-final { cleanup-ipa-dump "devirt" } } */
index 32f7258a452e3ebeeb09c0930e658891108df7fc..9307d96db099aa12bbf249b5ec7bfe79d4468362 100644 (file)
@@ -58,5 +58,5 @@ int main (int argc, char *argv[])
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "Replacing call target with foo" "fre1"  } } */
+/* { dg-final { scan-tree-dump "converting indirect call to function virtual int B::foo" "fre1"  } } */
 /* { dg-final { cleanup-tree-dump "fre1" } } */
index 5bddc2fcb26fa93221c1c81af0781d1b48aedf77..079aa4b6f15c0b37f587fba92d54e1ceaa15f334 100644 (file)
@@ -91,5 +91,5 @@ int main (int argc, char *argv[])
   return 0;
 }
 
-/* { dg-final { scan-tree-dump "Replacing call target" "fre1"  } } */
+/* { dg-final { scan-tree-dump "converting indirect call to function" "fre1"  } } */
 /* { dg-final { cleanup-tree-dump "fre1" } } */
index cc518a0d25ae83d4a82b54810700132462b87bea..bf75413723201efeaebaf5d7ab8423a4f5f5c92f 100644 (file)
@@ -24,5 +24,5 @@ int x()
 
 /* We should optimize this to a direct call.  */
 
-/* { dg-final { scan-tree-dump "Replacing call target with f" "fre1" } } */
+/* { dg-final { scan-tree-dump "converting indirect call to function int f()" "fre1" } } */
 /* { dg-final { cleanup-tree-dump "fre1" } } */