* lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.

From-SVN: r19968
This commit is contained in:
Jason Merrill 1998-05-23 02:20:08 +00:00 committed by Jason Merrill
parent 1139b3d870
commit cf22ce453e
2 changed files with 6 additions and 0 deletions

View 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.

View 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