Commit 5bcd1ab3 by Jan Hubicka Committed by Jan Hubicka

re PR ipa/65237 (r221040 caused many regressions)

	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
parent 395df65e
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();
......
/* { 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" } } */
/* { 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" } } */
......@@ -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__));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment