This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16904] [3.4/3.5 regression] ICE in finish_class_member_access_expr, at cp/typeck.c:1945
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2004 19:59:38 -0000
- Subject: [Bug c++/16904] [3.4/3.5 regression] ICE in finish_class_member_access_expr, at cp/typeck.c:1945
- References: <20040806193045.16904.v.haisman@sh.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-08-06 19:59 -------
It is, however, possible to make it even smaller :-)
------------------
template <typename T> struct X {
X () {
this->T::handler ();
}
};
template struct X<int>;
--------------------
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc: In constructor `X<T>::X() [with T = int]':
x.cc:7: instantiated from here
x.cc:3: internal compiler error: in finish_class_member_access_expr, at
cp/typeck.c:1945
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=16904