aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/testsuite/lib/prune.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/testsuite/lib/prune.exp')
-rw-r--r--gcc-4.6/gcc/testsuite/lib/prune.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.6/gcc/testsuite/lib/prune.exp b/gcc-4.6/gcc/testsuite/lib/prune.exp
index 4e08bf3..093d4f7 100644
--- a/gcc-4.6/gcc/testsuite/lib/prune.exp
+++ b/gcc-4.6/gcc/testsuite/lib/prune.exp
@@ -30,6 +30,9 @@ proc prune_gcc_output { text } {
regsub -all "(^|\n)Please submit.*instructions\[^\n\]*" $text "" text
regsub -all "(^|\n)\[0-9\]\[0-9\]* errors\." $text "" text
+ # Ignore informational notes.
+ regsub -all "(^|\n)\[^\n\]*: note: \[^\n\]*" $text "" text
+
# 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