diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-01-17 15:12:55 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2011-01-17 15:12:55 +0000 |
commit | fe1d7b0e4da3a58ce55110fc07c2a55e78b77f5c (patch) | |
tree | b008bcf3444989622fc8264e4bb86153ecec1bf9 /gcc | |
parent | 6ff382305327c639508f9fe6b24996e42da6cc64 (diff) | |
download | gcc-fe1d7b0e4da3a58ce55110fc07c2a55e78b77f5c.zip gcc-fe1d7b0e4da3a58ce55110fc07c2a55e78b77f5c.tar.gz gcc-fe1d7b0e4da3a58ce55110fc07c2a55e78b77f5c.tar.bz2 |
pr36728-1.c: Replace XFAIL for s390(x) with a target check.
2011-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.dg/guality/pr36728-1.c: Replace XFAIL for s390(x) with a
target check.
* gcc.dg/guality/pr36728-2.c: Likewise.
From-SVN: r168908
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/guality/pr36728-1.c | 14 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/guality/pr36728-2.c | 14 |
3 files changed, 26 insertions, 8 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ab6f53..45ff351 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/guality/pr36728-1.c: Replace XFAIL for s390(x) with a + target check. + * gcc.dg/guality/pr36728-2.c: Likewise. + 2011-01-17 Richard Guenther <rguenther@suse.de> PR tree-optimization/47313 diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-1.c b/gcc/testsuite/gcc.dg/guality/pr36728-1.c index 33e25f4..c4ad564 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-1.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-1.c @@ -15,16 +15,22 @@ foo (int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) return y; } -/* { dg-final { gdb-test 12 "arg1" "1" { xfail s390*-*-* } } } */ -/* { dg-final { gdb-test 12 "arg2" "2" { xfail s390*-*-* } } } */ +/* On s390(x) r2 and r3 are (depending on the optimization level) used + when adjusting the addresses in order to meet the alignment + requirements above. They usually hold the function arguments arg1 + and arg2. So it is expected that these values are unavailable in + some of these tests. */ + +/* { dg-final { gdb-test 12 "arg1" "1" { target { ! "s390*-*-*" } } } }*/ +/* { dg-final { gdb-test 12 "arg2" "2" { target { ! "s390*-*-*" } } } }*/ /* { dg-final { gdb-test 12 "arg3" "3" } } */ /* { dg-final { gdb-test 12 "arg4" "4" } } */ /* { dg-final { gdb-test 12 "arg5" "5" } } */ /* { dg-final { gdb-test 12 "arg6" "6" } } */ /* { dg-final { gdb-test 12 "arg7" "30" } } */ /* { dg-final { gdb-test 12 "y" "2" } } */ -/* { dg-final { gdb-test 14 "arg1" "1" { xfail s390*-*-* } } } */ -/* { dg-final { gdb-test 14 "arg2" "2" { xfail s390*-*-* } } } */ +/* { dg-final { gdb-test 14 "arg1" "1" { target { ! "s390*-*-*" } } } }*/ +/* { dg-final { gdb-test 14 "arg2" "2" { target { ! "s390*-*-*" } } } }*/ /* { dg-final { gdb-test 14 "arg3" "3" } } */ /* { dg-final { gdb-test 14 "arg4" "4" } } */ /* { dg-final { gdb-test 14 "arg5" "5" } } */ diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-2.c b/gcc/testsuite/gcc.dg/guality/pr36728-2.c index 7072a8d..a7c2de7 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-2.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-2.c @@ -15,16 +15,22 @@ foo (int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) return y; } -/* { dg-final { gdb-test 12 "arg1" "1" { xfail s390*-*-* } } } */ -/* { dg-final { gdb-test 12 "arg2" "2" { xfail s390*-*-* } } } */ +/* On s390(x) r2 and r3 are (depending on the optimization level) used + when adjusting the addresses in order to meet the alignment + requirements above. They usually hold the function arguments arg1 + and arg2. So it is expected that these values are unavailable in + some of these tests. */ + +/* { dg-final { gdb-test 12 "arg1" "1" { target { ! "s390*-*-*" } } } } */ +/* { dg-final { gdb-test 12 "arg2" "2" { target { ! "s390*-*-*" } } } } */ /* { dg-final { gdb-test 12 "arg3" "3" } } */ /* { dg-final { gdb-test 12 "arg4" "4" } } */ /* { dg-final { gdb-test 12 "arg5" "5" } } */ /* { dg-final { gdb-test 12 "arg6" "6" } } */ /* { dg-final { gdb-test 12 "arg7" "30" } } */ /* { dg-final { gdb-test 12 "y" "2" } } */ -/* { dg-final { gdb-test 14 "arg1" "1" { xfail s390*-*-* } } } */ -/* { dg-final { gdb-test 14 "arg2" "2" { xfail s390*-*-* } } } */ +/* { dg-final { gdb-test 14 "arg1" "1" { target { ! "s390*-*-*" } } } } */ +/* { dg-final { gdb-test 14 "arg2" "2" { target { ! "s390*-*-*" } } } } */ /* { dg-final { gdb-test 14 "arg3" "3" } } */ /* { dg-final { gdb-test 14 "arg4" "4" } } */ /* { dg-final { gdb-test 14 "arg5" "5" } } */ |