This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23056] New: [4.0/4.1 regression] ICE in write_template_arg_literal, at cp/mangle.c
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 05:26:23 -0000
- Subject: [Bug c++/23056] New: [4.0/4.1 regression] ICE in write_template_arg_literal, at cp/mangle.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We get an ICE building a real C++ app.
Thanks to mec for the minimized testcase, which I will attach.
Building it with gcc-4.0.1 and last week's gcc-4.1 snapshot
produces the errors shown below.
gcc-4.0.1:
i686-unknown-linux-gnu-g++ -c b2.cc
b2.cc: In instantiation of 'Beta<true, void, Delta, int>':
b2.cc:40: instantiated from here
b2.cc:8: internal compiler error: in write_template_arg_literal, at cp/mangle.c:2203
gcc-4.1-20050716:
i686-unknown-linux-gnu-g++ -c b2.cc
b2.cc: In instantiation of 'Beta<true, void, Delta, int>':
b2.cc:40: instantiated from here
b2.cc:8: internal compiler error: in write_template_arg_literal, at cp/mangle.c:2228
--
Summary: [4.0/4.1 regression] ICE in write_template_arg_literal,
at cp/mangle.c
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23056