OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2008 15:11:01 +0000 (15:11 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2008 15:11:01 +0000 (15:11 +0000)
commit18c9e39713d3e0ab60a235e1a8106e0def1d0693
tree261fefd5e9c3bbac96f4a939e6f96d4a72ec2d3b
parent534068e867aaf9e1d8a54128d9a7afd35ff2459f
/cp
2008-08-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34600
* decl.c (grokdeclarator): In case of extern and initializer, return
error_mark_node after the error.

/testsuite
2008-08-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34600
* g++.dg/parse/crash43.C: New.

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