[Bug tree-optimization/125919] __builtin_powi(-1.0,n) handling

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 21 08:59:06 GMT 2026


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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=125914

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
For PR 125914, I could either use __builtin_powi or generate code
like v3 below, but it could make sense to improve this in the middle-end
as well.


More information about the Gcc-bugs mailing list