diff options
author | Dodji Seketeli <dodji@redhat.com> | 2011-12-09 18:12:45 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2011-12-09 19:12:45 +0100 |
commit | 60ef5d4e7fcf2789986bcf24e2db82dc0ef79bab (patch) | |
tree | c93242d247ad65c273360bbd6a3e8c3ee1cac04e /libstdc++-v3/po | |
parent | 15ce64af29141facd203687d000e21fe6f877234 (diff) | |
download | gcc-60ef5d4e7fcf2789986bcf24e2db82dc0ef79bab.zip gcc-60ef5d4e7fcf2789986bcf24e2db82dc0ef79bab.tar.gz gcc-60ef5d4e7fcf2789986bcf24e2db82dc0ef79bab.tar.bz2 |
PR c++/51289 - ICE with alias template for bound template template parm
gcc/cp/
PR c++/51289
* cp-tree.h (TYPE_TEMPLATE_INFO): Rewrite this accessor macro to
better support aliased types.
(TYPE_ALIAS_P): Don't crash on TYPE_NAME nodes that are not
TYPE_DECL.
* pt.c (find_parameter_packs_r): Handle types aliases.
(push_template_decl_real): Check for bare parameter packs in the
underlying type of an alias template.
gcc/PR51289/gcc/testsuite/
PR c++/51289
* g++.dg/cpp0x/alias-decl-17.C: New test.
From-SVN: r182170
Diffstat (limited to 'libstdc++-v3/po')
0 files changed, 0 insertions, 0 deletions