Commit f4dbad23 by Ulrich Weigand Committed by Ulrich Weigand

* gcc.dg/tree-ssa/loop-1.c: Use -msmall-exec on s390-*-* targets.

From-SVN: r88151
parent c5fe8107
2004-09-26 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/tree-ssa/loop-1.c: Use -msmall-exec on s390-*-* targets.
2004-09-26 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> 2004-09-26 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/15164 PR fortran/15164
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details" } */ /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details" } */
/* On 31-bit S/390 the function address will be stored (once) in the literal pool,
so scan-assembler-times "foo" will return 1 even if the loop is fully unrolled.
-msmall-exec avoids this by enabling a call instruction with immediate operand. */
/* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -msmall-exec" { target s390-*-* } } */
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