]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/34600 (ICE with invalid use of extern)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 14 Aug 2008 15:11:01 +0000 (15:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 14 Aug 2008 15:11:01 +0000 (15:11 +0000)
commit0450a9665e7b06791114a521a20a691e2a1dbf2b
tree261fefd5e9c3bbac96f4a939e6f96d4a72ec2d3b
parent4265559a69290dee56a0df1e7d83610a869b02fc
re PR c++/34600 (ICE with invalid use of extern)

/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.

From-SVN: r139099
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash43.C [new file with mode: 0644]