[PATCH] Fix PPC combine ICE
Geoff Keating
geoffk@geoffk.org
Thu Mar 14 13:42:00 GMT 2002
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> Hi,
>
> since Alexandre's recent patch to add more CONST_INT sanity checking
> to combine, gzip would no longer compile:
>
> [fsirl@entropy:~/bug-gzip]$ ~/obj/gccm/gcc/xgcc -B ~/obj/gccm/gcc/ -O2
> -c
> zip.c -W -Wall
> zip.c: In function `zip':
> zip.c:16: Internal compiler error in do_SUBST, at combine.c:439
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> The attached regtested patch fixes that. OK to commit testcase and
> patch to mainline and branch?
No, the patch corrects for a problem that should never have occurred.
Try to work out where the CONST_INTs were originally generated
improperly and fix the problem there.
> Franz.
>
>
> * config/rs6000/rs6000.c (rs6000_emit_move): Properly handle
> CONST_INTs.
>
>
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
More information about the Gcc-patches
mailing list