* lib/lto.exp (lto_prune_warns): Also accept leading single quote.

From-SVN: r161541
This commit is contained in:
Rainer Orth 2010-06-29 16:35:06 +00:00 committed by Rainer Orth
parent 3fc7cd185f
commit c75c86636f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/lto.exp (lto_prune_warns): Also accept leading single quote.
2010-06-29 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/ipa-split-3.c: New testcase.

View File

@ -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