------- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-03 14:12 ------- Caused by either: 2005-10-16 Mark Mitchell <[EMAIL PROTECTED]>
PR c++/24389 * decl2.c (mark_used): Use uses_template_parms instead of dependent_type_p. * init.c (constant_value_1): Handle uninstantiated templates specially. * pt.c (instantiate_decl): Add sanity check. or 2005-10-11 Mark Mitchell <[EMAIL PROTECTED]> PR c++/21089 * call.c (convert_like_real): Use decl_constant_value, not integral_constant_value. * init.c (constant_value_1): New function. (integral_constant_value): Use it. (decl_constant_value): Likewise. * typeck.c (decay_conversion): Use decl_constant_value, not integral_constant_value. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25632