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

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

https://gcc.gnu.org/g:39d3c3f06f969b6dbe5c50596c060d1210f8c9f0

commit r12-10912-g39d3c3f06f969b6dbe5c50596c060d1210f8c9f0
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