prune.exp (prune_gcc_output): Also ignore "In constructor" and "In instantiation".
authorJason Merrill <jason@redhat.com>
Thu, 23 Aug 2001 10:52:12 +0000 (06:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Aug 2001 10:52:12 +0000 (06:52 -0400)
        * lib/prune.exp (prune_gcc_output): Also ignore "In constructor"
        and "In instantiation".

From-SVN: r45127

gcc/testsuite/ChangeLog
gcc/testsuite/lib/prune.exp

index 16501194519176cf70bf0ec0a96eefe5d1069fc7..5284f326607ea4cc5cb23665fe263098d188d64e 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
+
+       * lib/prune.exp (prune_gcc_output): Also ignore "In constructor"
+       and "In instantiation".
+
 2001-08-21  Aldy Hernandez  <aldyh@redhat.com>
 
         * gcc.c-torture/execute/divmod-1.c: Convert to ANSI.
index e83036003cbb15b7433018f30dbc467f186359f5..3df44f3ce0b02048b58a19f1d9df79710a0ae3e0 100644 (file)
@@ -19,7 +19,7 @@
 proc prune_gcc_output { text } {
     #send_user "Before:$text\n"
 
-    regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\n\]*" $text "" text
+    regsub -all "(^|\n)\[^\n\]*: In (function|method|constructor|instantiation) \[^\n\]*" $text "" text
     regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $text "" text
     regsub -all "(^|\n)collect2: ld returned \[^\n\]*" $text "" text
     regsub -all "(^|\n)Please submit.*instructions\[^\n\]*" $text "" text