[Bug middle-end/105777] Failure to optimize __builtin_mul_overflow with constant operand to add+cmp check

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 30 20:44:40 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-05-30
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It depends on how fast the multiply is so it is a middle-end issue where expand
should be able to do it if the multiply is slow enough.


More information about the Gcc-bugs mailing list