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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:732c0a78740860340c58f32bab5bf215d9032007

commit r15-10356-g732c0a78740860340c58f32bab5bf215d9032007
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Sep 10 17:14:07 2025 +0200

    Deal with prior EH/abormal cleanup when fixing up noreturn calls

    When a dead EH or abnormal edge makes a call queued for noreturn fixup
    unreachable, just skip processing it.

            PR tree-optimization/121870
            * tree-ssa-propagate.cc
            (substitute_and_fold_engine::substitute_and_fold): Skip
            removed stmts from noreturn fixup.

            * g++.dg/torture/pr121870.C: New testcase.

    (cherry picked from commit 5c4f1313e753aeb6920a48c62c7c99ad36e1adae)

Reply via email to