ridpointer problem [Re: block reordering problem]

Zack Weinberg zack@wolery.cumb.org
Sun Sep 10 13:47:00 GMT 2000


On Sun, Sep 10, 2000 at 01:38:00AM -0700, Richard Henderson wrote:
> On Sun, Sep 10, 2000 at 12:25:06AM -0700, Zack Weinberg wrote:
> > Arrrgh.  I did think I got all of those, really.
> 
> Hmm.  It looks like you thought about it, certainly.  I was thinking
> to myself "why don't we just make one keyword spelling canonical in
> the lexer".  Then I discovered that you've done exactly that in the
> C++ front end, but not the C front end.

For different reasons - the C++ front end has wondrous things in its
ridpointers array, not just boring IDENTIFIER_NODEs.

> The following also fixes the test case in question.

I do like this one better, though.  And it should deal with
c-semantics.c's problem, too.

zw


More information about the Gcc-bugs mailing list