* lib/prune.exp: Prune more -fpic/-fPIC warnings.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 25 Nov 2002 00:58:16 +0000 (00:58 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 25 Nov 2002 00:58:16 +0000 (00:58 +0000)
From-SVN: r59446

gcc/testsuite/ChangeLog
gcc/testsuite/lib/prune.exp

index c8da992..27d4824 100644 (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.
index 5a36094..a2861c0 100644 (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),