From ab10a269bbe18d73ab0defafab6895c309af293d Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Mon, 7 Jan 2002 00:07:27 +0000 Subject: [PATCH] testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp... 2002-01-07 David Billinghurst * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp: Delete lines ":In function ..." from compiler output testsuite/23_containers/map_operators.cc: Remove dg-excess-errors comment testsuite/23_containers/set_operators.cc: Likewise From-SVN: r48590 --- libstdc++-v3/ChangeLog | 9 +++++++++ libstdc++-v3/testsuite/23_containers/map_operators.cc | 1 - libstdc++-v3/testsuite/23_containers/set_operators.cc | 1 - libstdc++-v3/testsuite/lib/prune.exp | 4 ++++ libstdc++-v3/testsuite_flags.in | 3 ++- 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4326fcbe9ab..6c605aa314c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2002-01-07 David Billinghurst + + * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS + testsuite/lib/prune.exp: Delete lines ":In function ..." + from compiler output + testsuite/23_containers/map_operators.cc: Remove + dg-excess-errors comment + testsuite/23_containers/set_operators.cc: Likewise + 2002-01-06 Paolo Carlini * include/bits/stl_function.h: Remove two lines of comments; diff --git a/libstdc++-v3/testsuite/23_containers/map_operators.cc b/libstdc++-v3/testsuite/23_containers/map_operators.cc index 0ed96eb9fc5..2ef57649d7f 100644 --- a/libstdc++-v3/testsuite/23_containers/map_operators.cc +++ b/libstdc++-v3/testsuite/23_containers/map_operators.cc @@ -25,7 +25,6 @@ #include // { dg-do compile } -// { dg-excess-errors "" } // libstdc++/86: map & set iterator comparisons are not type-safe void test01() diff --git a/libstdc++-v3/testsuite/23_containers/set_operators.cc b/libstdc++-v3/testsuite/23_containers/set_operators.cc index cafaff4818b..f166ab9406e 100644 --- a/libstdc++-v3/testsuite/23_containers/set_operators.cc +++ b/libstdc++-v3/testsuite/23_containers/set_operators.cc @@ -24,7 +24,6 @@ #include // { dg-do compile } -// { dg-excess-errors "" } // libstdc++/86: map & set iterator comparisons are not type-safe int main(void) diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index 55c108056f2..7dc8eca1316 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -21,5 +21,9 @@ proc prune_g++_output { text } { # Cygwin warns about -ffunction-sections regsub -all "(^|\n)\[^\n\]*: -ffunction-sections may affect debugging on some targets\[^\n\]*" $text "" text + # Remove parts of warnings that refer to location of previous + # definitions, etc as these confuse dejagnu + regsub -all "(^|\n)\[^\n\]*: In function \[^\n\]*" $text "" text + return $text } diff --git a/libstdc++-v3/testsuite_flags.in b/libstdc++-v3/testsuite_flags.in index 04a2c29f444..1a24b5ed1f5 100755 --- a/libstdc++-v3/testsuite_flags.in +++ b/libstdc++-v3/testsuite_flags.in @@ -48,7 +48,8 @@ case ${query} in echo ${CXX} ;; --cxxflags) - CXXFLAGS=' -g @SECTION_FLAGS@ @SECTION_LDFLAGS@ + CXXFLAGS=' -g @SECTION_FLAGS@ @SECTION_LDFLAGS@ + -fmessage-length=0 -DDEBUG_ASSERT -DLOCALEDIR="@glibcpp_localedir@" ' echo ${CXXFLAGS} ;; -- 2.30.2