This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/24569] [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]