This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/64684] [5 Regression] wrong code by LTO on x86_64-linux-gnu
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Jan 2015 10:41:27 +0000
- Subject: [Bug lto/64684] [5 Regression] wrong code by LTO on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-64684-4 at http dot gcc dot gnu dot org/bugzilla/>
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.