[Bug c++/17401] [3.4/4.0 Regression] ICE with invalid pure specifier

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Sun Sep 19 12:41:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-09-19 12:41 -------
Subject: Re:  [3.4/4.0 Regression] ICE with invalid pure specifier

steven at gcc dot gnu dot org wrote:

> Isn't this just a matter of not filling
> ridpointers with null_node as done below?  Whenever RID_NULL
> is encountered, we return just
> null_node anyway, and there are apparently no other places where
> ridpointers[RID_NULL] is read.  I'll test this patch, let's see if
> this helps.

Maybe. But cp_parser_error is stil buggy and will ICE on other keywords (e.g.
"public"/"protected"/"private") so thinking that is still desirable anyway.
I'll get back to this bug later next week when I'm through with the finals.

Giovanni Bajo




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17401



More information about the Gcc-bugs mailing list