https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64684
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Ah - you do if (!is_proper_for_analysis (var)) continue; bitmap_set_bit (ignore_module_statics, DECL_UID (var)); but is_proper_for_analysis adds to all_module_statics (that's quite a broken thing for this kind of function...). I have a patch.