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
This commit is contained in:
David Billinghurst 2002-01-07 00:07:27 +00:00 committed by David Billinghurst
parent 6cda74b0eb
commit ab10a269bb
5 changed files with 15 additions and 3 deletions

View File

@ -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;

View File

@ -25,7 +25,6 @@
#include <iostream>
// { dg-do compile }
// { dg-excess-errors "" }
// libstdc++/86: map & set iterator comparisons are not type-safe
void test01()

View File

@ -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)

View File

@ -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
}

View File

@ -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}
;;