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

2005-10-28 Thread bangerth at dealii dot org


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



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

2005-10-28 Thread bangerth at dealii dot org


--- Comment #1 from bangerth at dealii dot org  2005-10-28 16:19 ---
Created an attachment (id=10076)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10076&action=view)
Preprocessed sources


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569