------- 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

Reply via email to