This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: Franz dot Sirl-kernel at lauterbach dot com, davem at gcc dot gnu dot org, davem at redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jakub at redhat dot com, mark at codesourcery dot com, nobody at gcc dot gnu dot org, rth at redhat dot com
- Date: Tue, 7 May 2002 08:45:31 -0400 (EDT)
- Subject: Re: target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c
- References: <20020506060304.25266.qmail@sources.redhat.com> <200205062223.38398@enzo.bigblue.local> <200205070035.06736@enzo.bigblue.local> <20800000.1020724683@gandalf.codesourcery.com>
> From: Mark Mitchell <mark@codesourcery.com>
>
> >> Can you try the attached patch? It seems to work for me, but the
> >> bootstrap hasn't completed yet. While I was at it, I improved the
> >> placing of the warning messages. I'm still a bit confused, cause it
> >> sometimes seems olddecl and newdecl appeared to be swapped compared to
> >> their sourcefile ordering.
> >
> > FYI, bootstrap+regtest on x86-linux-gnu completed successfully.
>
> OK; once you have confirmation of the SPARC results go ahead and check it
> in.
Unfortunately, the patch did not solve the problem listed in the PR.
I still get the same 'as' errors from compile/20011119-2.c
compile/20011119-2.c:3: warning: weak declaration of `foo' after first use results in unspecified behavior
/usr/ccs/bin/as: "/var/tmp//ccQOIg1d.s", line 51: error: invalid operand
--------------------------------------------------^^^^^
See test results here:
http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00234.html
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Global Services