gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of an output section is too large for a...

2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* lib/gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of 
	an output section is too large for a memory region, or a memory
	region overflows.

From-SVN: r265924
This commit is contained in:
Jozef Lawrynowicz 2018-11-08 16:26:00 +00:00 committed by Jozef Lawrynowicz
parent 0274dd3f8d
commit 20ce1f50f6
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2018-11-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* lib/gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of
an output section is too large for a memory region, or a memory
region overflows.
2018-11-08 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/null_pointer_deref1.adb: Remove -gnatp and add pragma.

View File

@ -394,6 +394,14 @@ proc gcc-dg-prune { system text } {
return "::unsupported::memory full"
}
if [regexp "(^|\n)\[^\n\]* section.*will not fit in region" $text] {
return "::unsupported::memory full"
}
if [regexp "(^|\n)\[^\n\]* region.*overflowed by" $text] {
return "::unsupported::memory full"
}
# Likewise, if we see ".text exceeds local store range" or
# similar.
if {[string match "spu-*" $system] && \