re PR c++/69481 (ICE with C++11 alias using with templates)
authorNathan Sidwell <nathan@acm.org>
Tue, 13 Dec 2016 20:43:08 +0000 (20:43 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 13 Dec 2016 20:43:08 +0000 (20:43 +0000)
commit5bfd81e7159a1d3a2e200f9f99bd0068bad7beb8
tree24915d3755b3e9603ff9e056744214621d436522
parent2de1796a6bf6748e1b3d392056761d68df40dbd0
re PR c++/69481 (ICE with C++11 alias using with templates)

cp/
PR c++/69481
* cp-tree.h (TYPE_TEMPLATE_INFO): Remove alias type checking.
(TYPE_ALIAS_TEMPLATE_INFO): New.
(TYPE_TEMPLATE_INFO_MAYBE_ALIAS): New.  Use those macros.
* error.c (dump_alias_template_specialization): Adjust.
* pt.c (maybe_process_partial_specialization)
iterative_has_template_arg, find_parameter_packs_r,
alias_template_specialization_p, dependent_alias_template_spec_p,
get_underlying_template, lookup_template_class_1, unify): Adjust
template using decl access.

testsuite/
PR c++/69481
* g++.dg/cpp0x/pr69481.C: New.
(--This line, and those below, will be ignored--

M    gcc/testsuite/ChangeLog
A    gcc/testsuite/g++.dg/cpp0x/pr69481.C
M    gcc/cp/cp-tree.h
M    gcc/cp/error.c
M    gcc/cp/ChangeLog
M    gcc/cp/pt.c

From-SVN: r243624
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr69481.C [new file with mode: 0644]