http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55395
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> 2012-12-04 14:46:06 UTC --- > (the DECL_INITIAL setting to error_mark_node). I can understand the aim at > saving compile time memory, but this is a wrong thing to do. dwarf2out.c uses > DECL_INITIAL heavily to emit debug info even for optimized away variables. OK, the aim was mostly to get rid of large constructors. Is it possible to tell when the DECL_INITIAL will be needed? This problem also exists with LTO where we do not stream initializers of variables not assigned to a given partition. Honza