]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc-defs.exp (${tool}_check_compile): xfail test cases that fail to link due to reloc...
authorBen Elliston <bje@au.ibm.com>
Tue, 28 Nov 2006 02:14:26 +0000 (02:14 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Tue, 28 Nov 2006 02:14:26 +0000 (13:14 +1100)
* lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
fail to link due to relocation overflows on spu-*-*.

From-SVN: r119270

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-defs.exp

index d2b7adfe62d4abf16113234745a24d9118399aee..95ab61cb7765a3a468a6313639024bb028221289 100644 (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>
 
index e1e3b93be76f9e32cc75b72dd52866437b414bf8..46083af8be06b9085719ba7b2e77d2ecc4e8ca39 100644 (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