From c75c86636fb6e359e0164fb228577ffe70c6d3af Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 29 Jun 2010 16:35:06 +0000 Subject: [PATCH] * lib/lto.exp (lto_prune_warns): Also accept leading single quote. From-SVN: r161541 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/lto.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 00e5e840404..3a555de59f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-06-29 Rainer Orth + + * lib/lto.exp (lto_prune_warns): Also accept leading single quote. + 2010-06-29 Jan Hubicka * gcc.dg/tree-ssa/ipa-split-3.c: New testcase. diff --git a/gcc/testsuite/lib/lto.exp b/gcc/testsuite/lib/lto.exp index 282b57f0b39..7d0620faa0e 100644 --- a/gcc/testsuite/lib/lto.exp +++ b/gcc/testsuite/lib/lto.exp @@ -32,7 +32,7 @@ proc lto_prune_warns { text } { # Sun ld warns about common symbols with differing sizes. Unlike GNU ld # --warn-common (off by default), they cannot be disabled. - regsub -all "(^|\n)ld: warning: symbol `\[^\n\]*' has differing sizes:" $text "" text + regsub -all "(^|\n)ld: warning: symbol \[`'\]\[^\n\]*' has differing sizes:" $text "" text regsub -all "(^|\n)\[ \t\]*\[\(\]file \[^\n\]* value=\[^\n\]*; file \[^\n\]* value=\[^\n\]*\[)\];" $text "" text regsub -all "(^|\n)\[ \t\]*\[^\n\]* definition taken" $text "" text -- 2.30.2