]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/33959 (ICE in instantiate_class_template, at cp/pt.c:6649)
authorJason Merrill <jason@redhat.com>
Tue, 22 Jan 2008 14:48:05 +0000 (09:48 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 22 Jan 2008 14:48:05 +0000 (09:48 -0500)
commit29b0d1fd13249532adf239467d68bd4922e62d3c
tree17210cab7406b8b6b166eb18908a4cb69994b1fc
parent573fe0a122594bf28337f9d2d99c8005f1113940
re PR c++/33959 (ICE in instantiate_class_template, at cp/pt.c:6649)

        PR c++/33959
        * pt.c (tsubst_aggr_type): Make sure our context is complete.

        PR c++/34573
        * pt.c (retrieve_local_specialization): Robustify.
        (tsubst_pack_expansion, tsubst_decl): Remove redundant checks.

        PR c++/34846
        * pt.c (tsubst): Only call retrieve_local_specialization if the
        original typedef was in a function template.

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