[Bug middle-end/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 12 05:33:23 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
My second patch to PR 102150 "fixes" this by saying inline-asm can only be
conditional moved outside of the loop; this is different from saying it can
trap though which I think we don't want to do as that is a too big of a hammer.


More information about the Gcc-bugs mailing list