diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2004-09-26 22:31:26 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2004-09-26 22:31:26 +0000 |
commit | f4dbad2364543b9e23f3a4fc795db2311e5fdf89 (patch) | |
tree | 16a512f7bc20186158288237c14d8296c008d895 /gcc | |
parent | c5fe8107bc3c2a2c0a5f3b07ae999dfaa8f3d573 (diff) | |
download | gcc-f4dbad2364543b9e23f3a4fc795db2311e5fdf89.zip gcc-f4dbad2364543b9e23f3a4fc795db2311e5fdf89.tar.gz gcc-f4dbad2364543b9e23f3a4fc795db2311e5fdf89.tar.bz2 |
* gcc.dg/tree-ssa/loop-1.c: Use -msmall-exec on s390-*-* targets.
From-SVN: r88151
Diffstat (limited to 'gcc')
-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 37c6b27..da84e65 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +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> PR fortran/15164 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index 43cf01b..759a979 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -1,6 +1,11 @@ /* { dg-do compile } */ /* { 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) { int x = 45; |