This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: test for excess errors
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- Cc: dave dot korn at artimi dot com, drow at false dot org, gcc at gcc dot gnu dot org
- Date: Wed, 23 Aug 2006 09:55:13 -0700
- Subject: Re: test for excess errors
- References: <20060823162108.9660F11000B@bromo.msbb.uc.edu>
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