full" if the linker on spu-*-* warns about exceeding local store.
And revert this patch:
* lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
fail to link due to relocation overflows on spu-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120134
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-12-22 Ben Elliston <bje@au.ibm.com>
+
+ * lib/gcc-dg.exp (gcc-dg-prune): Return "::unsupported::memory
+ full" if the linker on spu-*-* warns about exceeding local store.
+
+ And revert this patch:
+ * lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
+ fail to link due to relocation overflows on spu-*-*.
+
2006-12-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30273
global tool
set fatal_signal "*cc: Internal compiler error: program*got fatal signal"
- if {[istarget spu-*-*] && [string match "*exceeds local store range*" $gcc_output]} {
- setup_xfail [istarget]
- ${tool}_fail $testcase $option
- return 0
- }
-
if [string match "$fatal_signal 6" $gcc_output] then {
${tool}_fail $testcase "Got Signal 6, $option"
return 0
return "::unsupported::memory full"
}
+ # Likewise, if we see ".text exceeds local store range" or
+ # similar.
+ if {[string match "spu-*" $system] && \
+ [string match "*exceeds local store range*" $text]} {
+ # The format here is important. See dg.exp.
+ return "::unsupported::memory full"
+ }
+
return $text
}