Commit f3d509ec by Jan Hubicka Committed by Jan Hubicka

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
parent 561df464
2009-05-15 Jan Hubicka <jh@suse.cz> 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. * sibcall-1.c (track): Mark noinline.
* sibcall-2.c (track): Mark noinline. * sibcall-2.c (track): Mark noinline.
* sibcall-3.c (track): Mark noinline. * sibcall-3.c (track): Mark noinline.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/* { dg-do run { target i?86-*-* x86_64-*-* s390*-*-* } } */ /* { dg-do run { target i?86-*-* x86_64-*-* s390*-*-* } } */
/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */ /* { 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 abort (void);
extern void exit (int); extern void exit (int);
...@@ -27,7 +27,7 @@ main () ...@@ -27,7 +27,7 @@ main ()
exit (0); exit (0);
} }
int int __attribute__ ((noinline))
bar (b) bar (b)
int b; int b;
{ {
...@@ -37,7 +37,7 @@ bar (b) ...@@ -37,7 +37,7 @@ bar (b)
abort (); abort ();
} }
int int __attribute__ ((noinline))
foo (f) foo (f)
int f; int f;
{ {
......
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