aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2000-08-24 00:37:29 -0400
committerJason Merrill <jason@gcc.gnu.org>2000-08-24 00:37:29 -0400
commit2f1e6e0d11f7e7d6b57d6bf88e00db38d237864c (patch)
tree7a92bac428830115257de9ac3903ca26885ad816
parent6d958acf09c0e04b8b0b3c251e2dd2a38c28c254 (diff)
downloadgcc-2f1e6e0d11f7e7d6b57d6bf88e00db38d237864c.zip
gcc-2f1e6e0d11f7e7d6b57d6bf88e00db38d237864c.tar.gz
gcc-2f1e6e0d11f7e7d6b57d6bf88e00db38d237864c.tar.bz2
* lib/old-dejagnu.exp: Also ignore "In member function ".
From-SVN: r35932
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/old-dejagnu.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1861b98..f0cc322 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-23 Jason Merrill <jason@redhat.com>
+
+ * lib/old-dejagnu.exp: Also ignore "In member function ".
+
2000-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/noncompile/label-lineno-1.c: New test.
diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp
index 3fd1292..c5d6fb2 100644
--- a/gcc/testsuite/lib/old-dejagnu.exp
+++ b/gcc/testsuite/lib/old-dejagnu.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1988, 90, 91, 92, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -526,7 +526,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } {
#look to see if this is all thats left, if so, all messages have been handled
#send_user "comp_output: $comp_output\n"
- regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\n\]*" $comp_output "" comp_output
+ regsub -all "(^|\n)\[^\n\]*: In ((member)? function|method) \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: instantiated from \[^\n\]*" $comp_output "" comp_output
regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output