[Bug tree-optimization/107301] [13 Regression] ICE in duplicate_block, at cfghooks.cc:1114

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 18 08:31:21 GMT 2022


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

--- 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:5ad3cc1ecc3c7c61d5e319f74cb7287fb80944fd

commit r13-3352-g5ad3cc1ecc3c7c61d5e319f74cb7287fb80944fd
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Oct 18 09:38:03 2022 +0200

    tree-optimization/107301 - check if we can duplicate block before doing so

    Path isolation failed to do that.

            PR tree-optimization/107301
            * gimple-ssa-isolate-paths.cc (handle_return_addr_local_phi_arg):
            Check whether we can duplicate the block.
            (find_implicit_erroneous_behavior): Likewise.

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


More information about the Gcc-bugs mailing list