diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-23 15:53:06 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-10-23 08:53:06 -0700 |
commit | ee742c05a25dc4f364c345b1675203c402a5cda4 (patch) | |
tree | dd62a2b0a386c12622673cc2a0b3a41a54b7712a /gcc/testsuite | |
parent | 918047526ddf6f2ff5235d232d5bfbb653bd78cd (diff) | |
download | gcc-ee742c05a25dc4f364c345b1675203c402a5cda4.zip gcc-ee742c05a25dc4f364c345b1675203c402a5cda4.tar.gz gcc-ee742c05a25dc4f364c345b1675203c402a5cda4.tar.bz2 |
loop-1.c: Add -static for *-*-darwin*.
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>.
* gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin*.
From-SVN: r89489
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc99dea..cc666b6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>. + + * gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin*. + 2004-10-23 Ben Elliston <bje@au.ibm.com> * gcc.c-torture/execute/loop-2e.x: Remove. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index 04f4ebf..72abd35 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -6,6 +6,11 @@ -msmall-exec avoids this by enabling a call instruction with immediate operand. */ /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-vars -msmall-exec" { target s390-*-* } } */ +/* On Darwin, we call extern functions via a stub in PIC mode which is default and + the stub is named after the function. To avoid this we use -static to go out + of PIC mode. */ +/* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-vars -static" { target *-*-darwin* } } */ + void xxx(void) { int x = 45; |