OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2009 00:41:52 +0000 (00:41 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2009 00:41:52 +0000 (00:41 +0000)
commitd8acda95a8a5c5d93dbc4d89c2d4ecaf11f1819a
treed570be31ea5606581fa0af5ca3f8f054a51407cf
parentb8bf1dc31cd7e0a1457a29fc44eef1b3ed4b27c6
/cp
2009-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39053
* parser.c (cp_parser_pure_specifier): If there are no tokens left
do not call cp_lexer_consume_token.

/testsuite
2009-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39053
* g++.dg/parse/crash52.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143861 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash52.C [new file with mode: 0644]