This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/24569] [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2005 16:26:49 -0000
- Subject: [Bug debug/24569] [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966
- References: <bug-24569-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bangerth at dealii dot org 2005-10-28 16:26 -------
And here's the minimal testcase:
-----------------------------
template <int dim>
struct S
{
static const int u = 2 * dim;
static const int p[u];
static int f();
};
template <>
inline int S<3>::f () { return 1; }
template <int dim> const int S<dim>::u;
template class S<3>;
-----------------------
base> c++ -c x.cc -g
x.cc:13: internal compiler error: in add_AT_specification, at dwarf2out.c:4966
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569