[Bug ipa/80277] ipa-icf overlooking functions with identical assemble and semantics

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 5 17:32:45 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80277

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Target Milestone|9.5                         |---

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Right the issue here is unsigned vs signed .  To be able to ICF these two
functions, GCC would take undefined code to be being defined (signed integer
overflow vs unsigned wrapping).


More information about the Gcc-bugs mailing list