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

--- Comment #2 from CVS 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:4e56b1347687a33efa47d13d357ae3b7ab759c99

commit r12-1493-g4e56b1347687a33efa47d13d357ae3b7ab759c99
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jun 16 08:56:21 2021 +0200

    tree-optimization/101083 - fix ICE with SLP reassoc

    This makes us pass down the vector type for the two-operand
    SLP node build rather than picking that from operand one which,
    when constant or external, could be NULL.

    2021-06-16  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/101083
            * tree-vect-slp.c (vect_slp_build_two_operator_nodes): Get
            vectype as argument.
            (vect_build_slp_tree_2): Adjust.

            * gcc.dg/vect/pr97832-4.c: New testcase.

Reply via email to