Commit ee742c05 by Andrew Pinski Committed by Andrew Pinski

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
parent 91804752
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> 2004-10-23 Ben Elliston <bje@au.ibm.com>
* gcc.c-torture/execute/loop-2e.x: Remove. * gcc.c-torture/execute/loop-2e.x: Remove.
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
-msmall-exec avoids this by enabling a call instruction with immediate operand. */ -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-*-* } } */ /* { 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) void xxx(void)
{ {
int x = 45; int x = 45;
......
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