gcc-defs.exp (${tool}_check_compile): xfail test cases that fail to link due to relocation overflows on spu-*-*.

* lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
	fail to link due to relocation overflows on spu-*-*.

From-SVN: r119270
This commit is contained in:
Ben Elliston 2006-11-28 02:14:26 +00:00 committed by Ben Elliston
parent 84608df3d5
commit df69b58cd5
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-28 Ben Elliston <bje@au.ibm.com>
* lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
fail to link due to relocation overflows on spu-*-*.
2006-11-27 Michael Matz <matz@suse.de>
Andreas Krebbel <krebbel1@de.ibm.com>

View File

@ -24,6 +24,12 @@ proc ${tool}_check_compile {testcase option objname gcc_output} {
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