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

--- Comment #5 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:09a514fbb67caf7e33a6ceddf524ee21024c33c5

commit r15-3587-g09a514fbb67caf7e33a6ceddf524ee21024c33c5
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Sep 11 13:54:33 2024 +0200

    tree-optimization/116674 - vectorizable_simd_clone_call and re-analysis

    When SLP analysis scraps an instance because it fails to analyze we
    can end up calling vectorizable_* in analysis mode on a node that
    was analyzed during the analysis of that instance again.
    vectorizable_simd_clone_call wasn't expecting that and instead
    guarded analysis/transform code on populated data structures.
    The following changes it so it survives re-analysis.

            PR tree-optimization/116674
            * tree-vect-stmts.cc (vectorizable_simd_clone_call): Support
            re-analysis.

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

Reply via email to