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

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

https://gcc.gnu.org/g:5756c9816ed4481d12480b620fb44f0cbbf1e4ad

commit r16-4046-g5756c9816ed4481d12480b620fb44f0cbbf1e4ad
Author: Pan Li <[email protected]>
Date:   Tue Sep 23 09:51:14 2025 +0800

    Widen-Mul: Fix typo assignment in build_and_insert_cast [PR122031]

    The previous fix for PR122021 introduces a typo that the assignment
    to the var itself.  This PR would like to fix the typo, and sorry for
    my silly mistake.

    The below test suites are passed for this patch:
    1. The rv64gcv fully regression tests.
    2. The x86 bootstrap tests.
    3. The x86 fully regression tests.

            PR middle-end/122031

    gcc/ChangeLog:

            * tree-ssa-math-opts.cc (build_and_insert_cast): Fix the typo
            of self assignment.

    Signed-off-by: Pan Li <[email protected]>

Reply via email to