https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93428
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Guenther <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:148018bc3fe7ce47d005a1c5f7b6dd044024a4af

commit r10-6312-g148018bc3fe7ce47d005a1c5f7b6dd044024a4af
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jan 29 09:05:05 2020 +0100

    tree-optimization/93428 - avoid load permutation vector clobbering

    With SLP now being a graph with shared nodes across instances we have
    to make sure to compute the load permutation of nodes once, not
    overwriting the result of earlier analysis.

    2020-01-28  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/93428
        * tree-vect-slp.c (vect_build_slp_tree_2): Compute the load
        permutation when the load node is created.
        (vect_analyze_slp_instance): Re-use it here.

        * gcc.dg/torture/pr93428.c: New testcase.

Reply via email to