+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
/* { dg-do compile } */
-/* { dg-options "-O2 -finline-functions" } */
+/* { dg-options "-O2 -finline-functions -fno-ipa-icf" } */
extern int t();
+++ /dev/null
-/* { 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" } } */
+++ /dev/null
-/* { 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" } } */
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__));