--- Comment #2 from bangerth at dealii dot org 2005-10-28 16:26 ---
And here's the minimal testcase:
-
template
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 const int S::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 http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569