On Wed, Aug 23, 2006 at 12:21:08PM -0400, Jack Howarth wrote: > Dave, > I noticed this in the gcc/libmudflap/ChangeLog... > > * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries. > (prune_gcc_output): Add glibc static linking warnings. > > which makes me think I can just add a line like... > > regsub -all {(^|\n)[^\n]*can't find atom for N_GSYM stabs * in *[^\n]*} $text > "" text > > ...to the section... > > proc gfortran-dg-prune { system text } { > return [gcc-dg-prune $system $text] > } > > ...in gcc/gcc/testsuite/lib/gfortran-dg.exp. Although I wonder if > I really need to add a... > > proc prune_gcc_output { text } { > return $text > } > > ...section instead.
There's already a prune_gcc_output in gcc/testsuite/lib/prune.exp. Among the messages it ignores are errata warnings from the IA64 assembler, so as long as you document them, the linker messages you want to ignore could go there. Janis