aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/prune.exp
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2002-11-25 00:58:16 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2002-11-25 00:58:16 +0000
commitd860bdd355a39814ec7456a6a7822a901abdf78a (patch)
tree8987ccf4ce695c393ec2b645db9a582b7a57dbec /gcc/testsuite/lib/prune.exp
parent92d4b8a08f267b985022904e0ad492e9f25bef72 (diff)
downloadgcc-d860bdd355a39814ec7456a6a7822a901abdf78a.zip
gcc-d860bdd355a39814ec7456a6a7822a901abdf78a.tar.gz
gcc-d860bdd355a39814ec7456a6a7822a901abdf78a.tar.bz2
* lib/prune.exp: Prune more -fpic/-fPIC warnings.
From-SVN: r59446
Diffstat (limited to 'gcc/testsuite/lib/prune.exp')
-rw-r--r--gcc/testsuite/lib/prune.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp
index 5a36094..a2861c0 100644
--- a/gcc/testsuite/lib/prune.exp
+++ b/gcc/testsuite/lib/prune.exp
@@ -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),