re PR c++/90173 (ICE: Segmentation fault (in strip_declarator_types))
commit69dad6faf9f00b0b22a822f0a0bcc57e7256959e
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 26 Apr 2019 14:51:00 +0000 (26 14:51 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 26 Apr 2019 14:51:00 +0000 (26 14:51 +0000)
treefe00bddb7e0392b48519e3c593c7bc0ee27b2b18
parent8281e3b8ea4fe692c92c8781636a36e81f4e038f
re PR c++/90173 (ICE: Segmentation fault (in strip_declarator_types))

/cp
2019-04-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/90173
* decl.c (grokdeclarator): Set type to error_mark_node
upon error about template placeholder type non followed
by a simple declarator-id.

/testsuite
2019-04-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/90173
* g++.dg/cpp1z/class-deduction66.C: New.

From-SVN: r270603
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/class-deduction66.C [new file with mode: 0644]