This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: test for excess errors
On Wed, Aug 23, 2006 at 02:04:23PM +0100, Dave Korn wrote:
> > I ask because the
> > current output of "test for excess errors" when a FAIL occurs can
> > be inaccurate. With -m64 on Darwin we currently get a significant number
> > of false positives in the fortran testsuite due to linker warnings being
> > mistaken for errors.
>
> Hmmm, that's a problem. We don't really want to be testing the assembler's
> or linker's output. Don't immediately know how you'd get round that without
> reworking the testsuite to run the various substages of the compilation
> one-at-a-time, or just adding horrible hard-coded filtering to the captured
> stderr output...
There is a prune routine in the test harness for warnings we do not
care about.
> Actually, I wonder if "-Wl,2> -Wl,/dev/null" would work!? (modulo suitable
> quote/escaping).
It wouldn't; there's no suitable quoting possible.
--
Daniel Jacobowitz
CodeSourcery