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

--- Comment #1 from niemayer at isg dot de 2011-03-04 11:43:25 UTC ---
The line that gcc reports to cause the ICE contains:

 if (offset_a2->preallocate(text_1.length())) {

"offset_a2" is an instance of class Array<unsigned long, true, _T<AbsPtr>,
unsigned long> - if that class is declared to be an "extern template by

 extern template class Array<unsigned long, true, _T<AbsPtr>, unsigned long>;

before the function that causes the ICE, compilation works fine as well as it
does with implicit template instantiation. (All class names within namespace
"LKV").

Reply via email to