[Bug c++/38635] [4.4 regression] ICE parsing broken code

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 28 00:11:00 GMT 2008



------- Comment #2 from jakub at gcc dot gnu dot org  2008-12-28 00:10 -------
Caused by r137361.  When struct A {} is seen, it commits to tentative parse, so
cp_parser_parse_definitely succeeds eventhough the next token isn't = nor {,
but EOF.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list