@@ -1,3 +1,12 @@
+2015-06-01 Thomas Schwinge <thomas@codesourcery.com>
+
+ * g++.dg/ipa/devirt-37.C: Look at "fre4" instead of "fre3".
+ * g++.dg/ipa/devirt-40.C: Likewise.
+ * g++.dg/tree-ssa/pr61034.C: Likewise.
+ * gcc.dg/ipa/ipa-pta-13.c: Likewise.
+ * gcc.dg/ipa/ipa-pta-3.c: Likewise.
+ * gcc.dg/ipa/ipa-pta-4.c: Likewise.
+
2015-05-28 Tom de Vries <tom@codesourcery.com>
* c-c++-common/goacc/kernels-counter-vars-function-scope.c: Add check
@@ -1,4 +1,4 @@
-/* { dg-options "-fpermissive -O2 -fno-indirect-inlining -fno-devirtualize-speculatively -fdump-tree-fre3-details -fno-early-inlining" } */
+/* { dg-options "-fpermissive -O2 -fno-indirect-inlining -fno-devirtualize-speculatively -fdump-tree-fre4-details -fno-early-inlining" } */
#include <stdlib.h>
struct A {virtual void test() {abort ();}};
struct B:A
@@ -30,8 +30,8 @@ t()
/* After inlining the call within constructor needs to be checked to not go into a basetype.
We should see the vtbl store and we should notice extcall as possibly clobbering the
type but ignore it because b is in static storage. */
-/* { dg-final { scan-tree-dump "No dynamic type change found." "fre3" } } */
-/* { dg-final { scan-tree-dump "Checking vtbl store:" "fre3" } } */
-/* { dg-final { scan-tree-dump "Function call may change dynamic type:extcall" "fre3" } } */
-/* { dg-final { scan-tree-dump "converting indirect call to function virtual void" "fre3" } } */
-/* { dg-final { cleanup-tree-dump "fre3" } } */
+/* { dg-final { scan-tree-dump "No dynamic type change found." "fre4" } } */
+/* { dg-final { scan-tree-dump "Checking vtbl store:" "fre4" } } */
+/* { dg-final { scan-tree-dump "Function call may change dynamic type:extcall" "fre4" } } */
+/* { dg-final { scan-tree-dump "converting indirect call to function virtual void" "fre4" } } */
+/* { dg-final { cleanup-tree-dump "fre4" } } */
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -fdump-tree-fre3-details" } */
+/* { dg-options "-O2 -fdump-tree-fre4-details" } */
typedef enum
{
} UErrorCode;
@@ -19,5 +19,5 @@ A::m_fn1 (UnicodeString &, int &p2, UErrorCode &) const
UnicodeString a[2];
}
-/* { dg-final { scan-tree-dump-not "\\n OBJ_TYPE_REF" "fre3" } } */
-/* { dg-final { cleanup-tree-dump "fre3" } } */
+/* { dg-final { scan-tree-dump-not "\\n OBJ_TYPE_REF" "fre4" } } */
+/* { dg-final { cleanup-tree-dump "fre4" } } */
@@ -1,5 +1,5 @@
// { dg-do compile }
-// { dg-options "-O3 -fdump-tree-fre3" }
+// { dg-options "-O3 -fdump-tree-fre4" }
#define assume(x) if(!(x))__builtin_unreachable()
@@ -42,7 +42,7 @@ bool f(I a, I b, I c, I d) {
// a bunch of conditional free()s and unreachable()s.
// This works only if everything is inlined into 'f'.
-// { dg-final { scan-tree-dump-times ";; Function" 1 "fre3" } }
-// { dg-final { scan-tree-dump-times "free" 18 "fre3" } }
-// { dg-final { scan-tree-dump-times "unreachable" 11 "fre3" } }
-// { dg-final { cleanup-tree-dump "fre3" } }
+// { dg-final { scan-tree-dump-times ";; Function" 1 "fre4" } }
+// { dg-final { scan-tree-dump-times "free" 18 "fre4" } }
+// { dg-final { scan-tree-dump-times "unreachable" 11 "fre4" } }
+// { dg-final { cleanup-tree-dump "fre4" } }
@@ -1,5 +1,5 @@
/* { dg-do link } */
-/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre3 -fno-ipa-icf" } */
+/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre4 -fno-ipa-icf" } */
static int x, y;
@@ -54,9 +54,9 @@ int main()
local_address_taken (&y);
/* As we are computing flow- and context-insensitive we may not
CSE the load of x here. */
- /* { dg-final { scan-tree-dump " = x;" "fre3" } } */
+ /* { dg-final { scan-tree-dump " = x;" "fre4" } } */
return x;
}
/* { dg-final { cleanup-ipa-dump "pta" } } */
-/* { dg-final { cleanup-tree-dump "fre3" } } */
+/* { dg-final { cleanup-tree-dump "fre4" } } */
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre3-details" } */
+/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre4-details" } */
static int __attribute__((noinline,noclone))
foo (int *p, int *q)
@@ -23,6 +23,6 @@ int main()
/* { dg-final { scan-ipa-dump "foo.arg0 = &a" "pta" } } */
/* { dg-final { scan-ipa-dump "foo.arg1 = &b" "pta" } } */
-/* { dg-final { scan-tree-dump "Replaced \\\*p_2\\\(D\\\) with 1" "fre3" } } */
-/* { dg-final { cleanup-tree-dump "fre3" } } */
+/* { dg-final { scan-tree-dump "Replaced \\\*p_2\\\(D\\\) with 1" "fre4" } } */
+/* { dg-final { cleanup-tree-dump "fre4" } } */
/* { dg-final { cleanup-ipa-dump "pta" } } */
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre3-details" } */
+/* { dg-options "-O2 -fipa-pta -fdump-ipa-pta-details -fdump-tree-fre4-details" } */
int a, b;
@@ -28,6 +28,6 @@ int main()
/* { dg-final { scan-ipa-dump "foo.arg0 = &a" "pta" } } */
/* { dg-final { scan-ipa-dump "foo.arg1 = &b" "pta" } } */
-/* { dg-final { scan-tree-dump "Replaced \\\*p_2\\\(D\\\) with 1" "fre3" } } */
-/* { dg-final { cleanup-tree-dump "fre3" } } */
+/* { dg-final { scan-tree-dump "Replaced \\\*p_2\\\(D\\\) with 1" "fre4" } } */
+/* { dg-final { cleanup-tree-dump "fre4" } } */
/* { dg-final { cleanup-ipa-dump "pta" } } */