-
- Downloads
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
Showing
- gcc/cp/ChangeLog 13 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/cp-tree.h 22 additions, 15 deletionsgcc/cp/cp-tree.h
- gcc/cp/error.c 4 additions, 6 deletionsgcc/cp/error.c
- gcc/cp/pt.c 61 additions, 60 deletionsgcc/cp/pt.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/cpp0x/pr69481.C 26 additions, 0 deletionsgcc/testsuite/g++.dg/cpp0x/pr69481.C
Loading
Please register or sign in to comment