aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-12-22 01:05:07 +0000
committerBen Elliston <bje@gcc.gnu.org>2006-12-22 12:05:07 +1100
commit7ff0eaf6796d83e5f299c226fbc8e15faa472de1 (patch)
tree65d06849886a910f91900aba6c621dd400308b85 /gcc
parent222c2317e7da443f3b285020d4787c1d569c8be1 (diff)
downloadgcc-7ff0eaf6796d83e5f299c226fbc8e15faa472de1.zip
gcc-7ff0eaf6796d83e5f299c226fbc8e15faa472de1.tar.gz
gcc-7ff0eaf6796d83e5f299c226fbc8e15faa472de1.tar.bz2
gcc-dg.exp (gcc-dg-prune): Return "::unsupported::memory full" if the linker on spu-*-* warns about...
* 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-*-*. From-SVN: r120134
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog9
-rw-r--r--gcc/testsuite/lib/gcc-defs.exp6
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp8
3 files changed, 17 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3a094a5..206b391 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+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
diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp
index 46083af..e1e3b93 100644
--- a/gcc/testsuite/lib/gcc-defs.exp
+++ b/gcc/testsuite/lib/gcc-defs.exp
@@ -24,12 +24,6 @@ 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
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 5764c0f..690e3bf 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -183,6 +183,14 @@ proc gcc-dg-prune { system text } {
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
}