From 5513ecd55e97b14db554b2e94d3f95ab175b4404 Mon Sep 17 00:00:00 2001 From: Jack Howarth Date: Mon, 21 Mar 2011 19:13:05 +0000 Subject: [PATCH] prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. gcc: 2011-03-21 Jack Howarth * lib/prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings. libstdc++: 2011-03-21 Jack Howarth * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not create compact unwind for" warnings. From-SVN: r171263 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/prune.exp | 5 ++++- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/lib/prune.exp | 3 +++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cc8d1458ebc..2ce6bb73ec7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-03-21 Jack Howarth + + * lib/prune.exp (prune_gcc_output): Prune "could not create + compact unwind for" warnings. + 2011-03-20 Jakub Jelinek PR c/42544 diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp index 4e08bf3d1cc..7e4f9ce1621 100644 --- a/gcc/testsuite/lib/prune.exp +++ b/gcc/testsuite/lib/prune.exp @@ -56,7 +56,10 @@ proc prune_gcc_output { text } { regsub -all "(^|\n)\[^\n\]*ld: warning: can't add line info to anonymous symbol\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*warning: DWARFDebugInfoEntry::AppendDependants\[^\n\]*AT_\[^\n\]*_bound\[^\n\]*FORM_ref4\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*warning:\[^\n\]*TAG_variable: AT_location\[^\n\]*didn't have valid function low pc\[^\n\]*" $text "" text - + + # Ignore harmless warnings from Xcode 4.0. + regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text + #send_user "After:$text\n" return $text diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 109e3c3d8ce..88169a1c111 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-03-21 Jack Howarth + + * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not + create compact unwind for" warnings. + 2011-03-21 Jakub Jelinek * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index a1d8d083e58..cdbcd310a3d 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -55,6 +55,9 @@ proc libstdc++-dg-prune { system text } { regsub -all "(^|\n)\[^\n\]*warning: DWARFDebugInfoEntry::AppendDependants\[^\n\]*AT_\[^\n\]*_bound\[^\n\]*FORM_ref4\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*warning:\[^\n\]*TAG_variable: AT_location\[^\n\]*didn't have valid function low pc\[^\n\]*" $text "" text + # Ignore harmless warnings from Xcode 4.0. + regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text + foreach p $additional_prunes { if { [string length $p] > 0 } { # Following regexp matches a complete line containing $p. -- 2.30.2