summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/gcc-defs.exp
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 10:38:48 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 10:38:48 +0000
commit332c35520556cf91d36cbc97fdf5fc86c47f31c7 (patch)
tree3d97ada16e4bf2fee9038838746610a8750b266f /gcc/testsuite/lib/gcc-defs.exp
parent3443eac11878221a7c639e6238f31c7907797797 (diff)
downloadgcc-332c35520556cf91d36cbc97fdf5fc86c47f31c7.tar.gz
* lib/gcc-dg.exp (gcc-dg-prune): Make linker message check
less strict so it also works with auto-overlay support. * lib/gcc-defs.exp (${tool}_check_unsupported_p): Add check for "exceeds local store" linker errors on the SPU. * lib/gfortran.exp: Include target-supports.exp. (gfortran_init): On SPU targets where automatic overlay support is available, use it to build all Fortran test cases. * gfortran.dg/pr20257.f90: Skip on spu-*-* targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/gcc-defs.exp')
-rw-r--r--gcc/testsuite/lib/gcc-defs.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp
index 7bcbcabc087..53926a69a23 100644
--- a/gcc/testsuite/lib/gcc-defs.exp
+++ b/gcc/testsuite/lib/gcc-defs.exp
@@ -155,6 +155,10 @@ proc ${tool}_check_unsupported_p { output } {
if [regexp "(^|\n)\[^\n\]*: region \[^\n\]* is full" $output] {
return "memory full"
}
+ if {[istarget spu-*-*] && \
+ [string match "*exceeds local store*" $output]} {
+ return "memory full"
+ }
return ""
}