[Bug middle-end/42371] dead code not eliminated during folding with whole-program

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 18 10:25:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42371

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-18 10:25:04 UTC ---
Clearing of address-taken does not work:

two/1 (two) @0x7fafc0e29818
  Type: function
  Visibility: prevailing_def_ironly
  Address is taken.
  References:
  Referring: main/3 (addr)
  Availability: available
  Function flags: analyzed body finalized
  Called by:
  Calls:

that is, we do not re-compute address-taken after IPA inline transform stage
and thus do not reclaim indirectly inlined functions that we no longer need.



More information about the Gcc-bugs mailing list