This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in change_address at emit_rtl.c
- From: Michal Moskal <malekith at pld dot org dot pl>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 24 Nov 2001 13:45:39 +0100
- Subject: Re: ICE in change_address at emit_rtl.c
On Sat, Nov 24, 2001 at 12:21:02AM +0000, Neil Booth wrote:
> Joseph S. Myers wrote:-
> > * On error, how far should we skip before trying to make sense of the code
> > again?
>
> I think we should try not skipping at all, and fix any nasty effects
> of this as they arise. I might be naive here, but I don't think it
> can be that hard. For example, if a subexpression of an arithmetic
> operator goes wonky, use an int or double of 1; it shouldn't cause any
> new errors or warnings (0 could, of course).
12 / ((foo - bar) - 1), when (foo - bar) is invalid? I guess that it
would be better to insert refernce to some bogus, artificial, variable,
then constant.
--
: Michal ``,/\/\, '' Moskal | | : GCS {C,UL}++++$
: | |alekith @ |)|(| . org . pl : {E--, W, w-,M}-
: Linux: We are dot in .ORG. | : {b,e>+}++ !tv h
: CurProj: ftp://ftp.pld.org.pl/people/malekith/ksi : PLD Team member