target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c
Mark Mitchell
mark@codesourcery.com
Wed May 8 07:26:00 GMT 2002
--On Wednesday, May 08, 2002 08:35:07 AM -0400 "Kaveh R. Ghazi"
<ghazi@caip.rutgers.edu> wrote:
> > From: Mark Mitchell <mark@codesourcery.com>
> >
> > This patch will fix it; I'm testing on x86 now, and if someone can
> > kick off a SPARC run that would be great. As a special bonus, this
> > also makes the warnings come out in the right place consistently.
>
> Mark,
>
> Your patch made the compile/20011119-2.c failures go away, but I get
> some new ones:
>
> FAIL: gcc.dg/weak-3.c weak declaration (test for warnings, line 37)
> FAIL: gcc.dg/weak-3.c weak declaration (test for warnings, line 59)
> FAIL: gcc.dg/weak-3.c (test for excess errors)
> FAIL: gcc.dg/weak-5.c weak declaration (test for warnings, line 42)
> FAIL: gcc.dg/weak-5.c (test for excess errors)
>
> Excess errors:
> gcc.dg/weak-3.c:42:
> warning: weak declaration of `ffoo1c' after first use results in
> unspecified behavior gcc.dg/weak-3.c:67:
> warning: weak declaration of `ffoo1f' after first use results in
> unspecified behavior
>
> gcc.dg/weak-5.c:47:
> warning: weak declaration of `vfoo1c' after first use results in
> unspecified behavior
>
> I suspect that the warnings just moved so it may be an issue of simply
> fixing the testcases if the new location is correct.
Yes, that's correct; the warnings actually come at a better place now;
both Franz and I like the new location better.
Thank you very much for the testing cycles; I'll commit the patch
shortly.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-bugs
mailing list