From d860bdd355a39814ec7456a6a7822a901abdf78a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 25 Nov 2002 00:58:16 +0000 Subject: [PATCH] * lib/prune.exp: Prune more -fpic/-fPIC warnings. From-SVN: r59446 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/prune.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c8da9924fad0..27d4824da2ca 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 5a3609493c8c..a2861c0eefcd 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), -- 2.47.2