http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60899
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> --- David, it seems a_m.C should be different form a.C. From chain of events you describe I think we need to figure out why the last folding happens. Does the function pass can_refer_decl_in_current_unit_p and if so, how does cgraph node look at that time? Honza