From: Ben Elliston Date: Tue, 28 Nov 2006 02:14:26 +0000 (+0000) Subject: gcc-defs.exp (${tool}_check_compile): xfail test cases that fail to link due to reloc... X-Git-Tag: releases/gcc-4.3.0~8251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df69b58cd5ad1d5ba162e3a5a6337b0ee34c64e8;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d2b7adfe62d4..95ab61cb7765 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-11-28 Ben Elliston + + * 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 Andreas Krebbel diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp index e1e3b93be76f..46083af8be06 100644 --- a/gcc/testsuite/lib/gcc-defs.exp +++ b/gcc/testsuite/lib/gcc-defs.exp @@ -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