aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/prune.exp
diff options
context:
space:
mode:
authorJack Howarth <howarth@bromo.med.uc.edu>2010-09-14 07:40:44 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2010-09-14 07:40:44 +0000
commit2f78283b38be196f4c8050688853404d41e7d8d1 (patch)
tree7bc21d3d106c727ef10b771eae1bde04507e839c /gcc/testsuite/lib/prune.exp
parentc28883e6412287f04b901e6035ac7c2ff81cc4f6 (diff)
downloadgcc-2f78283b38be196f4c8050688853404d41e7d8d1.zip
gcc-2f78283b38be196f4c8050688853404d41e7d8d1.tar.gz
gcc-2f78283b38be196f4c8050688853404d41e7d8d1.tar.bz2
re PR target/42070 (FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use)
2010-09-10 Jack Howarth <howarth@bromo.med.uc.edu> PR target/42070 * gcc/testsuite/lib/profopt.exp: Prune warnings on execname2 compile. * gcc/testsuite/lib/prune.exp: Prune "can't add line info" warnings. From-SVN: r164269
Diffstat (limited to 'gcc/testsuite/lib/prune.exp')
-rw-r--r--gcc/testsuite/lib/prune.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp
index 769169d..acb807f 100644
--- a/gcc/testsuite/lib/prune.exp
+++ b/gcc/testsuite/lib/prune.exp
@@ -49,6 +49,9 @@ proc prune_gcc_output { text } {
regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $text "" text
regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $text "" text
+ # Ignore harmless warnings from Xcode 3.2.x.
+ regsub -all "(^|\n)\[^\n\]*ld: warning: can't add line info to anonymous symbol\[^\n\]*" $text "" text
+
#send_user "After:$text\n"
return $text