diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 00e5e8404048..3a555de59f28 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 282b57f0b390..7d0620faa0ed 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