diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2002-01-07 00:07:27 +0000 |
---|---|---|
committer | David Billinghurst <billingd@gcc.gnu.org> | 2002-01-07 00:07:27 +0000 |
commit | ab10a269bbe18d73ab0defafab6895c309af293d (patch) | |
tree | 54c5e9cf7eaaf78cfaa7ce73f0e5b1af6a253b8e | |
parent | 6cda74b0eb9f55dacb84413e833a0376dc9286a5 (diff) | |
download | gcc-ab10a269bbe18d73ab0defafab6895c309af293d.zip gcc-ab10a269bbe18d73ab0defafab6895c309af293d.tar.gz gcc-ab10a269bbe18d73ab0defafab6895c309af293d.tar.bz2 |
testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp...
2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
* 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
-rw-r--r-- | libstdc++-v3/ChangeLog | 9 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/map_operators.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/set_operators.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/prune.exp | 4 | ||||
-rwxr-xr-x | libstdc++-v3/testsuite_flags.in | 3 |
5 files changed, 15 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4326fcb..6c605aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com> + + * 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 <pcarlini@unitus.it> * 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 0ed96eb..2ef5764 100644 --- a/libstdc++-v3/testsuite/23_containers/map_operators.cc +++ b/libstdc++-v3/testsuite/23_containers/map_operators.cc @@ -25,7 +25,6 @@ #include <iostream> // { 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 cafaff4..f166ab9 100644 --- a/libstdc++-v3/testsuite/23_containers/set_operators.cc +++ b/libstdc++-v3/testsuite/23_containers/set_operators.cc @@ -24,7 +24,6 @@ #include <string> // { 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 55c1080..7dc8eca 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 04a2c29..1a24b5e 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} ;; |