aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-07 00:07:27 +0000
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-07 00:07:27 +0000
commit47572f649a12b8e970a2ef920471c24b22c7a448 (patch)
tree54c5e9cf7eaaf78cfaa7ce73f0e5b1af6a253b8e /libstdc++-v3/testsuite
parent7d55bbcd2e3e210f563d239f4bf43bc708b8a662 (diff)
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/23_containers/map_operators.cc1
-rw-r--r--libstdc++-v3/testsuite/23_containers/set_operators.cc1
-rw-r--r--libstdc++-v3/testsuite/lib/prune.exp4
3 files changed, 4 insertions, 2 deletions
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 <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 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 <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 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
}