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

--- Comment #5 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:36bc2a8f24f9c8f6eb2c579d520d7fc73a113ae1

commit r13-1972-g36bc2a8f24f9c8f6eb2c579d520d7fc73a113ae1
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Aug 5 10:40:18 2022 +0200

    tree-optimization/106533 - loop distribution of inner loop of nest

    Loop distribution currently gives up if the outer loop of a loop
    nest it analyzes contains a stmt with side-effects instead of
    continuing to analyze the innermost loop.  The following fixes that
    by continuing anyway.

            PR tree-optimization/106533
            * tree-loop-distribution.cc (loop_distribution::execute): Continue
            analyzing the inner loops when find_seed_stmts_for_distribution
            fails.

            * gcc.dg/tree-ssa/ldist-39.c: New testcase.

Reply via email to