binutils-2.15 - work around for gcc optimization problem on sparc -sun-solaris2.7
Eric Botcazou
ebotcazou@libertysurf.fr
Wed Jul 14 06:55:00 GMT 2004
> 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
More information about the Gcc-bugs
mailing list