* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 23 May 1998 02:20:08 +0000 (02:20 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 23 May 1998 02:20:08 +0000 (22:20 -0400)
From-SVN: r19968

gcc/testsuite/ChangeLog
gcc/testsuite/lib/old-dejagnu.exp

index ee5d8783da18910d70de4057a81dba184f830d65..c58faae1ef41c03aafe01821ed43ae65d17c6fc8 100644 (file)
@@ -1,3 +1,7 @@
+1998-05-23  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
+
 Thu May 21 23:23:21 1998  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.dg/980520-1.c: New test.
index 3f6e9675119e753bd0ec369da99e717a50425434..45eb8ac46eacbd8c0c2736755717c6b3e6d1a7f8 100644 (file)
@@ -489,6 +489,8 @@ proc old-dejagnu { compiler prog 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 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
     regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $comp_output "" comp_output
     regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not done" $comp_output "" comp_output