------- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-21 10:29 ------- this should be fixed by patch introducing static_object_in_other_unit_p. However it seems bit strange that we can get into VAR_DECL not in a varpool by folding. I know this is possible for vtables and type infos, but this seems like an ordinary var. I will investigat it. but the ICE should be gone.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45712