[Bug c++/12146] [3.3/3.4 Regression] ICE in lookup_template_function at cp/pt.c:4005

wjl at icecavern dot net gcc-bugzilla@gcc.gnu.org
Wed Sep 3 16:16:00 GMT 2003


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. 
=)



More information about the Gcc-bugs mailing list