This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16671] [3.5 regression] ICE in tsubst_decl
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2004 16:10:09 -0000
- Subject: [Bug c++/16671] [3.5 regression] ICE in tsubst_decl
- References: <20040722153001.16671.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-22 16:10 -------
I can't attach something today due to a misconfiguration on my side. But here's
a reduced testcase:
--------------------------
template <typename T> struct Accessor {
struct Reference {
void operator = (int);
};
};
template <typename T>
void Accessor<T>::Reference::operator = (int) {}
template class Accessor<float>::Reference;
----------------------------
deal.II/deal.II> c++ -c x.cc
x.cc: In instantiation of `Accessor<float>::Reference':
x.cc:10: instantiated from here
x.cc:2: internal compiler error: in tsubst_decl, at cp/pt.c:6081
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=16671