decl.c (grokdeclarator): For an erroneous template parameter propagate error_mark_nod...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 21 Jul 2015 20:51:28 +0000 (20:51 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 21 Jul 2015 20:51:28 +0000 (20:51 +0000)
commitfaa16e44059217584127bb0d825b27b1d263a894
tree389591321ddfd6e525f2f04a2a400c3d43f1124e
parent6998b929fa954dc791b77011ce7d3252d6f107fe
decl.c (grokdeclarator): For an erroneous template parameter propagate error_mark_node as type.

/cp
2015-07-21  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokdeclarator): For an erroneous template parameter
propagate error_mark_node as type.

/testsuite
2015-07-21  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/crash81.C: Update.

From-SVN: r226054
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash81.C