This is the mail archive of the gcc-patches@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: [PATCH] Fix PPC combine ICE


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>


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