[Bug tree-optimization/126861] [17 Regression] internal compiler error: in vect_schedule_slp_node, at tree-vect-slp.cc:12245 by r17-3220-g5e63fb58f84e3c

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 14 10:20:42 GMT 2026


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

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

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

commit r17-3284-gd42b8b15aa9f246293c976f141df1c1936d93dc6
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Aug 14 10:26:00 2026 +0200

    tree-optimization/126861 - ICE with SLP schedule at explicit region start

    We cannot use a random stmt at region start as marker as that might
    eventually be a control stmt.  Instead use NULL to mark region
    start as documented.

            PR tree-optimization/126861
            * tree-vect-slp.cc (vect_schedule_slp_node): Use NULL for
            scheduling at region start.

            * g++.dg/vect/slp-pr126861.cc: New testcase.


More information about the Gcc-bugs mailing list