re PR ipa/65237 (r221040 caused many regressions)
authorJan Hubicka <hubicka@ucw.cz>
Fri, 27 Feb 2015 16:56:57 +0000 (17:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 27 Feb 2015 16:56:57 +0000 (16:56 +0000)
PR ipa/65237
* gcc.dg/attr-noinline.c: Add -fno-ipa-icf
* gcc.dg/noreturn-7.c: Add -fno-ipa-icf.
* gcc.dg/ipa/ipa-cp-1.c: Revert accidental commit.
* gcc.dg/ipa/ipa-cp-2.c: Revert accidental commit.

From-SVN: r221065

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-noinline.c
gcc/testsuite/gcc.dg/ipa/ipa-cp-1.c [deleted file]
gcc/testsuite/gcc.dg/ipa/ipa-cp-2.c [deleted file]
gcc/testsuite/gcc.dg/noreturn-7.c

index cc86e37a1ba0717a290edcf6761d1309bfe525f1..7f161c463286abb9ad32498ac203aab010c362e5 100644 (file)
@@ -1,3 +1,11 @@
+2015-02-27  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/65237
+       * gcc.dg/attr-noinline.c: Add -fno-ipa-icf
+       * gcc.dg/noreturn-7.c: Add -fno-ipa-icf.
+       * gcc.dg/ipa/ipa-cp-1.c: Revert accidental commit.
+       * gcc.dg/ipa/ipa-cp-2.c: Revert accidental commit.
+
 2015-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/65048
index 7d57c0172c5001d2b58e53dfdc8eff129cea6fcf..a87881bae4a17ccc51d44cbeaa44c51402796ffb 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -finline-functions" } */
+/* { dg-options "-O2 -finline-functions -fno-ipa-icf" } */
 
 extern int t();
 
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-cp-1.c b/gcc/testsuite/gcc.dg/ipa/ipa-cp-1.c
deleted file mode 100644 (file)
index b1ec4d4..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-cp"  } */
-int n;
-
-static void
-__attribute__ ((noinline))
-test(void *a)
-{
-  __builtin_memset (a,0,n);
-}
-
-int
-main()
-{
-  int aa;
-  short bb;
-  test (&aa);
-  test (&bb);
-  return 0;
-}
-/* { dg-final { scan-ipa-dump "Alignment 2"  "cp"  } } */
-/* { dg-final { cleanup-ipa-dump "cp" } } */
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-cp-2.c b/gcc/testsuite/gcc.dg/ipa/ipa-cp-2.c
deleted file mode 100644 (file)
index 0dbbcf1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-ipa-cp"  } */
-int n;
-
-static void
-__attribute__ ((noinline))
-test(void *a)
-{
-  __builtin_memset (a,0,n);
-}
-
-static __attribute__ ((aligned(16))) int aa[10];
-
-int
-main()
-{
-  test (&aa[1]);
-  test (&aa[3]);
-  return 0;
-}
-/* { dg-final { scan-ipa-dump "Alignment 8, misalignment 4"  "cp"  } } */
-/* { dg-final { cleanup-ipa-dump "cp" } } */
index fd2be2d56c0f29e86620df2dc43943eae5650f01..1a60bf94a0eee06f62e34708bde074a50ff8d70d 100644 (file)
@@ -5,7 +5,7 @@
    in presence of tail recursion within a noreturn function.  */
 
 /* { dg-do compile } */
-/* { dg-options "-O2 -Wreturn-type -Wmissing-noreturn" } */
+/* { dg-options "-O2 -Wreturn-type -Wmissing-noreturn -fno-ipa-icf" } */
 
 
 void f(void) __attribute__ ((__noreturn__));