]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/35327 (ICE with invalid constructor)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 7 Jun 2008 08:06:46 +0000 (08:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 7 Jun 2008 08:06:46 +0000 (08:06 +0000)
commite32764576e31e938e1257dd55e5c151db7a87e9e
treebdedfd66d3d07c0bc9326eea90856e559cac7e31
parent968c8001a2f049c533f1b00fc0f7c31a0b11015e
re PR c++/35327 (ICE with invalid constructor)

/cp
2008-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35327
        * decl.c (grokdeclarator): In case of wrong return type return
immediately error_mark_node.

/testsuite
2008-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35327
        * g++.dg/parse/crash41.C: New.

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