re PR c++/42054 (ICE with invalid template parameter)
authorSimon Martin <simartin@users.sourceforge.net>
Sat, 27 Feb 2010 19:21:39 +0000 (19:21 +0000)
committerSimon Martin <simartin@gcc.gnu.org>
Sat, 27 Feb 2010 19:21:39 +0000 (19:21 +0000)
commitbaae602ec06edf60cca0dbda1f51870c77a00de8
treeb0c851700db62542c8e1f00e04066905d40b4447
parent84167094317240e29200a021c344ce378c42cda5
re PR c++/42054 (ICE with invalid template parameter)

gcc/cp/

2010-02-27  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/42054
        * pt.c (redeclare_class_template): Return false if there are erroneous
        template parameters.

gcc/testsuite/

2010-02-27  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/42054:
* g++.dg/parse/error37.C: New test.

From-SVN: r157112
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error37.C [new file with mode: 0644]