aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/941014-1.x16
2 files changed, 18 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a2b9f53..c69b904 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 9077584..a52aaa7 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