+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.
-# 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