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


Hi Eric,

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?

Maybe... It involves arithmetic comparisons of pointers to separately allocated objects, which is a bit dubious in the first place.


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).

Indeed.


- is the bug reported by Kevin not a mere duplicate of
  http://sources.redhat.com/ml/binutils/2004-06/msg00089.html

Yes.


which has been fixed by
  http://sources.redhat.com/ml/binutils/2004-06/msg00114.html

Doh! Yes - I missed this. Very sorry. I will revert Kelvin's patch.


Cheers
  Nick


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