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

--- Comment #10 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:539e6a417856519d6112e99a1583da1926e34047

commit r16-7501-g539e6a417856519d6112e99a1583da1926e34047
Author: Richard Biener <[email protected]>
Date:   Fri Feb 13 15:16:28 2026 +0100

    testsuite/115827 - avoid false negative because of CCP

    The following adjusts two uninit testcases to avoid a false negative
    that appears when using -msoft-float on arm because the testcase
    then mutates into a classical case of CCP eliding

      # _11 = PHI <1.0e+0(2), f$real_9(D)(3)>

    Avoid this by using a non-constant.  And avoid flipping locations
    for the diagnostic by not duplicating the return statement.

            PR testsuite/115827
            * gcc.dg/auto-init-uninit-17.c: Avoid CCP.
            * gcc.dg/uninit-17.c: Likewise.

Reply via email to