diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-26 00:40:00 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-26 00:40:00 +0000 |
commit | 175423338bc64b4f0c9bd51bc772f32dbab7b774 (patch) | |
tree | 9d14e7638abce48e2633697bc0e28f3d8acdacee | |
parent | 7ed1bb71278b6a0a2a7cd1c3e2c4e073c80a304a (diff) | |
download | gcc-175423338bc64b4f0c9bd51bc772f32dbab7b774.tar.gz |
* gcc.dg/sibcall-3.c: Skip on PowerPC targets when -mlongcall.
* gcc.dg/sibcall-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126943 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sibcall-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sibcall-4.c | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ffa4cfbc012..1960f7747db 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-07-25 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/sibcall-3.c: Skip on PowerPC targets when -mlongcall. + * gcc.dg/sibcall-4.c: Likewise. + 2007-07-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR rtl-optimization/31500 diff --git a/gcc/testsuite/gcc.dg/sibcall-3.c b/gcc/testsuite/gcc.dg/sibcall-3.c index 95edee107d8..cb5a8f0e8f3 100644 --- a/gcc/testsuite/gcc.dg/sibcall-3.c +++ b/gcc/testsuite/gcc.dg/sibcall-3.c @@ -6,6 +6,8 @@ Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ /* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* -mlongcall disables sibcall patterns. */ +/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ /* The option -foptimize-sibling-calls is the default, but serves as diff --git a/gcc/testsuite/gcc.dg/sibcall-4.c b/gcc/testsuite/gcc.dg/sibcall-4.c index 3991ecc9279..c76ac56e34d 100644 --- a/gcc/testsuite/gcc.dg/sibcall-4.c +++ b/gcc/testsuite/gcc.dg/sibcall-4.c @@ -6,6 +6,8 @@ Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ /* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* -mlongcall disables sibcall patterns. */ +/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ /* The option -foptimize-sibling-calls is the default, but serves as |