This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jun 2015 21:22:10 +0000
- Subject: [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
- Auto-submitted: auto-generated
- References: <bug-66067-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 26 20:35:06 2015
New Revision: 225085
URL: https://gcc.gnu.org/viewcvs?rev=225085&root=gcc&view=rev
Log:
PR c++/66067
* mangle.c (write_template_args): Handle 0 length TREE_VEC.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-50.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/mangle.c