* lib/prune.exp: Prune more -fpic/-fPIC warnings.

From-SVN: r59446
This commit is contained in:
Hans-Peter Nilsson 2002-11-25 00:58:16 +00:00 committed by Hans-Peter Nilsson
parent 92d4b8a08f
commit d860bdd355
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-11-25 Hans-Peter Nilsson <hp@bitrange.com>
* lib/prune.exp: Prune more -fpic/-fPIC warnings.
2002-11-24 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/empty10.C: New test.

View file

@ -24,8 +24,9 @@ proc prune_gcc_output { text } {
regsub -all "(^|\n)collect2: ld returned \[^\n\]*" $text "" text
regsub -all "(^|\n)Please submit.*instructions\[^\n\]*" $text "" text
# Ignore harmless -fpic warnings on cygwin.
# Ignore harmless -fpic warnings.
regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target\[^\n\]*" $text "" text
regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC)( and -fpic are| is)? not supported\[^\n\]*" $text "" text
# It would be nice to avoid passing anything to gcc that would cause it to
# issue these messages (since ignoring them seems like a hack on our part),