]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/24791 (ICE on invalid instantiation of template's static member)
authorJason Merrill <jason@redhat.com>
Fri, 26 Oct 2007 19:54:10 +0000 (15:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 26 Oct 2007 19:54:10 +0000 (15:54 -0400)
commit91a77d68e72ba6e7597884fc10afd07a9700bb5a
treeb60524076cf0b62e70c6417f3dd6b09eb6c76300
parent4552f5a2c81d09f3d1af9aad2203e95162c2e3a8
re PR c++/24791 (ICE on invalid instantiation of template's static member)

        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.

From-SVN: r129660
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/error33.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/crash11.C