Created attachment 43997 [details] gzipped C++ source code The attached C++ code, when compiled by recent trunk gcc, does this: In file included from array_real.cpp:28: array_tlp.hpp: In instantiation of ‘void ArrayOperator() [with K = double; Z = l ong int]’: array_real.cpp:44:32: required from here array_tlp.hpp:1703:27: internal compiler error: in inc_refcount_use, at cp/pt.c: 8955 0x63784e inc_refcount_use ../../trunk/gcc/cp/pt.c:8955 0x63784e set_refcount_ptr<tinst_level> ../../trunk/gcc/cp/pt.c:8994 0x998992 push_tinst_level_loc ../../trunk/gcc/cp/pt.c:10152 The new bug seems to exist between revision 259439 and 259515. I will have my usual go at reducing the code.
just fixed *** This bug has been marked as a duplicate of bug 85462 ***