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 <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:a262f969d6fd936f4fb5d9e1d5756b0dcbc925b2

commit r13-2518-ga262f969d6fd936f4fb5d9e1d5756b0dcbc925b2
Author: Richard Biener <rguent...@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.

Reply via email to