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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:cc36ceb085de6111d3e0f41290f872363d208d21

commit r17-6167-gcc36ceb085de6111d3e0f41290f872363d208d21
Author: Richard Biener <[email protected]>
Date:   Thu Nov 12 09:12:12 2026 +0100

    tree-optimization/128628 - wrong CSE of negated complex division

    The a/b -> -((-a)/b) CSE is not valid for complex float with
    signed zeros, similar for multiplication.

            PR tree-optimization/128628
            * tree-ssa-sccvn.cc (visit_nary_op): Do not CSE negated
            division or multiplication for complex float.

            * gcc.dg/torture/pr128628.c: New testcase.

Reply via email to