------- Comment #6 from jakub at gcc dot gnu dot org 2009-12-03 15:59 ------- This happens during mangling something from within the middle-end, and at that point cfun is a T.0 clone, which has cfun->language = NULL. Not sure what's the best solution, whether to change current_class_ptr etc. macros from cfun ? cp_function_chain->* : NULL to (cfun && cp_function_chain) ? cp_function_chain->* : NULL, allocate a dummy cfun->language somewhere when we are going to call FE functions that might need it, something else?
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41183