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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
The multiplication is optimized out under -ffinite-math-only -fno-signed-zeros
(otherwise y can be NaN if bar returns infinity, for example).

Why is it ok to optimize out the call to bar even though it's impure?

Reply via email to