[Bug tree-optimization/104716] ICE in copy_loop_before, at tree-loop-distribution.cc:952

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 1 14:25:51 GMT 2022


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

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

https://gcc.gnu.org/g:54ef95cc4d1f3f2cde7c1f13250f889ffb81ca75

commit r12-7432-g54ef95cc4d1f3f2cde7c1f13250f889ffb81ca75
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Mar 1 09:24:26 2022 +0100

    tree-optimization/104716 - check if we can copy loop in loop distribution

    The following checks whether we can copy the loop before attempting
    to do so in loop distribution.  In the testcase there's a computed
    goto and thus abnormal edges which we cannot redirect.

    2022-03-01  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/104716
            * tree-loop-distribution.cc (find_seed_stmts_for_distribution):
            Check if we can copy the loop.

            * gfortran.dg/pr104716.f: New testcase.


More information about the Gcc-bugs mailing list