This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: binutils-2.15 - work around for gcc optimization problem on sparc -sun-solaris2.7
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Kelvin Lee <Kelvin dot Lee at lansa dot com dot au>,"'bug-binutils at gnu dot org'" <bug-binutils at gnu dot org>,"'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 14 Jul 2004 08:56:54 +0200
- Subject: Re: binutils-2.15 - work around for gcc optimization problem on sparc -sun-solaris2.7
- References: <817522051E65D511A2740001028074C4C2F507@EX1> <40F3DDB8.2050503@redhat.com>
> Thanks very much for discovering this problem and producing a
> workaround. I have applied the patch you suggested, together with this
> ChangeLog entry:
>
> bfd/ChangeLog
> 2004-07-13 Kelvin Lee <Kelvin.Lee@lansa.com.au>
>
> * elflink.c (elf_sort_symbol): Restructure code to avoid bug in
> Solairs hosted versions of gcc.
I'm a bit confused by this patch:
- is there really a bug "in Solaris hosted versions of gcc" involved here?
If so, it would be nice to produce a testcase and file a PR with GCC
bugzilla (cc-ing ebotcazou@gcc.gnu.org would be even nicer).
- is the bug reported by Kevin not a mere duplicate of
http://sources.redhat.com/ml/binutils/2004-06/msg00089.html
which has been fixed by
http://sources.redhat.com/ml/binutils/2004-06/msg00114.html
in which case the patch is superfluous and the ChangeLog entry a bit
misleading?
--
Eric Botcazou