From: Hans-Peter Nilsson Date: Mon, 25 Nov 2002 00:58:16 +0000 (+0000) Subject: * lib/prune.exp: Prune more -fpic/-fPIC warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d860bdd355a39814ec7456a6a7822a901abdf78a;p=gcc.git * lib/prune.exp: Prune more -fpic/-fPIC warnings. From-SVN: r59446 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c8da9924fad..27d4824da2c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-25 Hans-Peter Nilsson + + * lib/prune.exp: Prune more -fpic/-fPIC warnings. + 2002-11-24 Mark Mitchell * g++.dg/abi/empty10.C: New test. diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp index 5a3609493c8..a2861c0eefc 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),