r129660 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Oct 26 19:54:00 GMT 2007
Author: jason
Date: Fri Oct 26 19:54:10 2007
New Revision: 129660
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129660
Log:
PR c++/24791
* pt.c (get_template_info): New fn.
(template_class_depth): Use it.
(push_template_decl_real): Check that the template args of the
definition match the args of the previous declaration.
Added:
trunk/gcc/testsuite/g++.dg/template/error33.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.old-deja/g++.pt/crash11.C
More information about the Gcc-cvs
mailing list