This is the mail archive of the gcc@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: 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


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