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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

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

commit r14-11000-gbbe47a2d763d14de94c1e98104e2fa553783972a
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Oct 28 09:52:08 2024 +0100

    tree-optimization/117307 - STMT_VINFO_SLP_VECT_ONLY mis-computation

    STMT_VINFO_SLP_VECT_ONLY isn't properly computed as union of all
    group members and when the group is later split due to duplicates
    not all sub-groups inherit the flag.

            PR tree-optimization/117307
            * tree-vect-data-refs.cc (vect_analyze_data_ref_accesses):
            Properly compute STMT_VINFO_SLP_VECT_ONLY.  Set it on all
            parts of a split group.

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

    (cherry picked from commit 19722308a286d9a00eead8ac82b948da8c4ca38b)

Reply via email to