This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: GCC 4.2.1: Stabalizing coalesce_list's qsort
On Wed, 2007-08-22 at 14:57 +0100, Nick Clifton wrote:
> Hi Andrew,
>
> > There is no question that if the sort in unstable, we could end up
> > coalescing pairs in different orders, which could then affect the code
> > generated. Does this currently affect your bootstrap?
>
> No. The bug was only exhibited compiling a customer supplied test program with
> a mips64vrel-elf cross compiler. The compiled program ran if the cross
> compiler had been run under Linux, but failed if the cross compiler was run
> under Cygwin. This is what lead me to track down the stable qsort issue.
I presume there was a legitimate bug under the covers tho? the unstable
sort by itself should still result in correct code being generated...
Andrew