bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils-2.15 - work around for gcc optimization problem on sparc -s


From: Nick Clifton
Subject: Re: binutils-2.15 - work around for gcc optimization problem on sparc -sun-solaris2.7
Date: Wed, 14 Jul 2004 10:00:38 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Hi Eric,

bfd/ChangeLog
2004-07-13  Kelvin Lee  <address@hidden>

        * 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 address@hidden 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]