diff options
| author | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-11 03:38:32 +0000 |
|---|---|---|
| committer | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-11 03:38:32 +0000 |
| commit | b0d8e49cb34af0a14e5e21c23a7933d482c5d3ec (patch) | |
| tree | d4a1ed45e9a19274067a8f79516343e486d201de | |
| parent | 5416d1b0f22096f59f6e0c90d45129ecb9bd6cd7 (diff) | |
| download | ppe42-gcc-b0d8e49cb34af0a14e5e21c23a7933d482c5d3ec.tar.gz ppe42-gcc-b0d8e49cb34af0a14e5e21c23a7933d482c5d3ec.zip | |
* gcc.c-torture/compile/20001226-1.x: Only xfail for Xtensa
targets if not optimizing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54481 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20001226-1.x | 16 |
2 files changed, 18 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d2c3fbd9f54..4ef50fab73e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-06-10 Bob Wilson <bob.wilson@acm.org> + + * gcc.c-torture/compile/20001226-1.x: Only xfail for Xtensa + targets if not optimizing. + 2002-06-10 Jakub Jelinek <jakub@redhat.com> * gcc.c-torture/compile/20020605-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.x b/gcc/testsuite/gcc.c-torture/compile/20001226-1.x index 9cee14782fa..13616c69f37 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20001226-1.x +++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.x @@ -1,12 +1,22 @@ # This does not assemble on m68hc11 because the function is larger # than 64K. +global target_triplet +if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] } { + set torture_compile_xfail "$target_triplet" +} + # It doesn't work on Xtensa with -O0 because the function is larger # than the range of a jump instruction (+- 128K) and the assembler # does not yet relax jumps to indirect jumps. -global target_triplet -if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"] || [istarget "xtensa-*-*"]} { - set torture_compile_xfail "$target_triplet" +set torture_eval_before_compile { + set compiler_conditional_xfail_data { + "jump beyond 128K not supported" \ + "xtensa-*-*" \ + { "-O0" } \ + { "" } + } } + return 0 |

