sibcall-6.c: Add no-ipa-cp argument and mark the function to be optimized by sibcall noinline.
* sibcall-6.c: Add no-ipa-cp argument and mark the function to be optimized by sibcall noinline. From-SVN: r147584
This commit is contained in:
parent
561df46451
commit
f3d509ec30
@ -1,3 +1,8 @@
|
||||
2009-05-15 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* sibcall-6.c: Add no-ipa-cp argument and mark the function to be
|
||||
optimized by sibcall noinline.
|
||||
|
||||
2009-05-15 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* sibcall-1.c (track): Mark noinline.
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* s390*-*-* } } */
|
||||
/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */
|
||||
/* { dg-options "-O2 -foptimize-sibling-calls" } */
|
||||
/* { dg-options "-O2 -foptimize-sibling-calls -fno-ipa-cp" } */
|
||||
|
||||
extern void abort (void);
|
||||
extern void exit (int);
|
||||
@ -27,7 +27,7 @@ main ()
|
||||
exit (0);
|
||||
}
|
||||
|
||||
int
|
||||
int __attribute__ ((noinline))
|
||||
bar (b)
|
||||
int b;
|
||||
{
|
||||
@ -37,7 +37,7 @@ bar (b)
|
||||
abort ();
|
||||
}
|
||||
|
||||
int
|
||||
int __attribute__ ((noinline))
|
||||
foo (f)
|
||||
int f;
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user