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

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

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

commit r15-1670-gc7cb0dd94589ab501bca27f93641b4074e5a2e99
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jun 26 19:23:26 2024 +0200

    tree-optimization/115652 - amend last fix

    The previous fix breaks in the degenerate case when the discovered
    last_stmt is equal to the first stmt in the block since then we
    undo a required stmt advancement.

            PR tree-optimization/115652
            * tree-vect-slp.cc (vect_schedule_slp_node): Only insert
            at the start of the block if that strictly dominates
            the discovered dependent stmt.

Reply via email to