diff options
author | Adam Nemet <anemet@lnxw.com> | 2002-11-05 05:41:39 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2002-11-05 05:41:39 +0000 |
commit | 9e96797f3188a41ce32d3f4ed107182aaf04124d (patch) | |
tree | af248a58e3cb44571c7fbec217c80f60b9d7302a /gcc | |
parent | 1c9c903e4dd19eb44592770fc40852a165a47668 (diff) | |
download | gcc-9e96797f3188a41ce32d3f4ed107182aaf04124d.tar.gz |
941014-1.x: thumb-elf was deprecated, use -mthumb.
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb. Only xfail with -O0.
From-SVN: r58809
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/941014-1.x | 16 |
2 files changed, 18 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2b9f53b5ca..c69b90418fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-11-04 Adam Nemet <anemet@lnxw.com> + + * gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use + -mthumb. Only xfail with -O0. + 2002-11-03 Mark Mitchell <mark@codesourcery.com> * g++.dg/abi/thunk1.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/941014-1.x b/gcc/testsuite/gcc.c-torture/execute/941014-1.x index 90775849832..a52aaa79394 100644 --- a/gcc/testsuite/gcc.c-torture/execute/941014-1.x +++ b/gcc/testsuite/gcc.c-torture/execute/941014-1.x @@ -1,6 +1,16 @@ -# This doesn't work for thumb-elf +# This doesn't always work for Thumb. -if { [istarget "thumb-*-elf"] } { - set torture_execute_xfail "thumb-*-elf" +if { [istarget arm*-*-*] || [istarget xscale*-*-*] \ + || [istarget strongarm*-*-*] } { + set torture_eval_before_execute { + global compiler_conditional_xfail_data + set compiler_conditional_xfail_data { + "Thumb sets the last bit of function relocations" \ + { "arm*-*-*" "xscale*-*-*" "strongarm*-*-*" } \ + { { "-mthumb" "-O0" } } \ + { "" } + } + } } + return 0 |