[Bug c++/19710] [3.4 regression] ice on invalid one line C++ code

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Jan 31 00:31:00 GMT 2005


------- Additional Comments From giovannibajo at libero dot it  2005-01-31 00:31 -------
Yes, but I am not sure what is the best fix. Mark, shouldn't 
cp_lexer_peek_nth_token always work, no matter how big the N is? I think it 
could return NULL if N is too big, but segfaulting looks a little too much to 
me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|giovannibajo at gcc dot gnu |mmitchel at gcc dot gnu dot
                   |dot org                     |org
         AssignedTo|unassigned at gcc dot gnu   |giovannibajo at libero dot
                   |dot org                     |it
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list