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

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

https://gcc.gnu.org/g:4216bf468c68aacfa29a11296af9ba9967756bed

commit r13-9944-g4216bf468c68aacfa29a11296af9ba9967756bed
Author: Richard Biener <[email protected]>
Date:   Mon Jul 7 09:56:50 2025 +0200

    tree-optimization/120817 - bogus DSE of .MASK_STORE

    DSE used ao_ref_init_from_ptr_and_size for .MASK_STORE but
    alias-analysis will use the specified size to disambiguate
    against smaller objects.  For .MASK_STORE we instead have to
    make the access size unspecified but we can still constrain
    the access extent based on the maximum size possible.

            PR tree-optimization/120817
            * tree-ssa-dse.cc (initialize_ao_ref_for_dse): Use
            ao_ref_init_from_ptr_and_range with unknown size for
            .MASK_STORE and .MASK_LEN_STORE.

            * gcc.dg/vect/pr120817.c: New testcase.

    (cherry picked from commit 439b14e222571da76da2bfec04b9035fb9f1862d)

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

https://gcc.gnu.org/g:5c39b97a7ff3aa209ceb8bf03d2a89351e20105f

commit r13-9945-g5c39b97a7ff3aa209ceb8bf03d2a89351e20105f
Author: Tamar Christina <[email protected]>
Date:   Mon Jul 7 17:05:01 2025 +0100

    testsuite: add sve hw check to testcase [PR120817]

    Drop down from SVE2 to SVE1 as that's the minimum
    required for the test, and since it's a mid-end test
    add the aarch64_sve_hw check.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/120817
            * gcc.dg/vect/pr120817.c: Add SVE HW check.

    (cherry picked from commit 4b9f760c511a4ef3a390dd6cfab80bada57c2535)

Reply via email to