https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66289
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Jun 17 14:32:55 2015 New Revision: 224556 URL: https://gcc.gnu.org/viewcvs?rev=224556&root=gcc&view=rev Log: PR c++/66289 * cp-tree.h (TEMPLATE_DECL_COMPLEX_ALIAS_P): New. * pt.c (push_template_decl_real): Set it. (dependent_alias_template_spec_p): Use it. (dependent_type_p_r): Use dependent_alias_template_spec_p. (uses_all_template_parms_data, uses_all_template_parms_r) (complex_alias_template_p): New. (get_template_parm_index): Handle BOUND_TEMPLATE_TEMPLATE_PARM. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-48.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-tree.h branches/gcc-5-branch/gcc/cp/pt.c