PATCH to testsuite/lib/prune.exp

Jason Merrill jason_merrill@redhat.com
Tue Jul 24 07:57:00 GMT 2001


The bug report instructions are not interesting to the testsuite; only the
first line of an ICE is.

2001-07-24  Jason Merrill  <jason_merrill@redhat.com>

	* lib/prune.exp (prune_gcc_output): Prune "Please submit a full
	bug report" message.

*** prune.exp.~1~	Tue Jul 24 15:08:50 2001
--- prune.exp	Tue Jul 17 15:48:08 2001
*************** proc prune_gcc_output { text } {
*** 22,27 ****
--- 22,28 ----
      regsub -all "(^|\n)\[^\n\]*: In (function|method) \[^\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
  
      # It would be nice to avoid passing anything to gcc that would cause it to
      # issue these messages (since ignoring them seems like a hack on our part),



More information about the Gcc-patches mailing list