[Bug tree-optimization/105437] [11 Regression] ICE on GIMPLE pass slp when vectorizer is enabled since r11-1801-g9e5508c2d006f2d4

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 2 10:56:50 GMT 2022


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:462e7e2c6fe0bc57e03110d43a2c7e53a1ce04ea

commit r11-10045-g462e7e2c6fe0bc57e03110d43a2c7e53a1ce04ea
Author: Richard Biener <rguenther@suse.de>
Date:   Mon May 2 09:30:27 2022 +0200

    tree-optimization/105437 - BB vect with extern defs of throwing stmts

    We have to watch out for vectorized stmt insert locations if the
    def from the last stmt alters control flow.  We constrain region
    building so we know the def is outside of the current region
    and thus we can insert at the region start point.

    2022-05-02  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/105437
            * tree-vect-slp.c (vect_schedule_slp_node): Handle the
            case where last_stmt alters control flow.

            * g++.dg/vect/pr105437.cc: New testcase.

    (cherry picked from commit 3a3eda000fdf4f8754c9a2535191091f1db0c2a2)


More information about the Gcc-bugs mailing list