]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/36411 (ICE with invalid template template parameter)
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 23 Feb 2009 22:34:50 +0000 (22:34 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 23 Feb 2009 22:34:50 +0000 (14:34 -0800)
commit8c8d4a46a88c43741c307ca638293f5c1de713c5
tree84e54c62e79ee4fc9bb0feb6b374ba881826abb2
parentd8028f2cc34c6fe1f5a8b93762195dcdbbd37b71
re PR c++/36411 (ICE with invalid template template parameter)

gcc/cp

2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/36411
* pt.c (coerce_template_template_parms): Return 0 if parameter
is error_mark_node.

gcc/testsuite/

2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/36411
* g++.dg/template/void14.C: New.

From-SVN: r144396
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/void14.C [new file with mode: 0644]