This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c


At 14:35 08.05.2002, Kaveh R. Ghazi 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.

Exactly, see my initial patch which contained fixes for the testsuite as well.

BTW, I managed to bootstrap on sparc-sun-solaris2.8 in the meantime, after 
using --disable-shared and disabling java. Is it normal that you can't 
build with --enable-shared on this platform? Do I need binutils instead of 
the solaris tools?

Franz.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]