This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c
- From: "ro at CeBiTec dot Uni-Bielefeld dot DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2010 14:03:55 -0000
- Subject: [Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c
- References: <bug-43870-14576@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-05-19 14:03 -------
Subject: Re: ICE in gcc/config/soft-fp/divtf3.c
> ------- Comment #6 from zadeck at naturalbridge dot com 2010-05-19 13:41 -------
> I have a deadline and do not have time to play with this. The comparison
> function in df-scan.c, df_ref_compare, is not stable according to what has been
> discussed in pr42157. however, it does satisfy the definition of qsort in the
> linux manuals.
I've no idea if the Solaris 8 (and IRIX 5) qsort violates ISO C90 here.
> if you need it to be that stable for those platforms, then change the last line
> of df_ref_compare from "return 0;" to be
>
> return (int)DF_REF_ORDER (ref1) - (int)DF_REF_ORDER (ref2);
Thanks, that's all I needed: bootstrap is past the ICE in the stage1
libgcc now, I'll let if finish and submit the patch, attributed to you,
once testing is complete.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870