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: binutils-2.15 - work around for gcc optimization problem on sparc -sun-solaris2.7


> 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


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