[Bug tree-optimization/106866] [13 Regression] ICE in predicate::init_from_control_deps

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 7 12:17:45 GMT 2022


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

--- Comment #4 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:a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2

commit r13-2518-ga262f969d6fd936f4fb5d9e1d5756b0dcbc925b2
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Sep 7 12:50:40 2022 +0200

    tree-optimization/106866 - avoid dead abnormal edges from DCE

    When DCE clears cfun->calls_setjmp then suddenly we don't need
    any abnormal call edges anymore.  The following makes sure to
    prune them which otherwise can confuse other passes.

            PR tree-optimization/106866
            * tree-ssa-dce.cc (eliminate_unnecessary_stmts): When
            we changed cfun->calls_setjmp make sure to purge all
            abnormal call edges.

            * gcc.dg/uninit-pr106866.c: New testcase.


More information about the Gcc-bugs mailing list