This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12146] [3.3/3.4 Regression] ICE in lookup_template_function at cp/pt.c:4005
- From: "wjl at icecavern dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2003 16:16:53 -0000
- Subject: [Bug c++/12146] [3.3/3.4 Regression] ICE in lookup_template_function at cp/pt.c:4005
- References: <20030902233254.12146.wjl@icecavern.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12146
------- Additional Comments From wjl at icecavern dot net 2003-09-03 16:16 -------
BTW, the code is actually bad; there is a stray "template <>" in this snippet
(from Convert.ii -- line no ~17495)
template <>
Value convert_std__string(const std::string &) {
return Value(rb_str_new(s.data(), s.length()));
}
This doesn't forgive the ICE, but hopefully will make it easier to track down.
=)