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

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

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

commit r11-10021-gd293946d5c318549af88f96c4c2175dcbb8f4cf1
Author: Richard Biener <rguent...@suse.de>
Date:   Wed May 11 13:34:37 2022 +0200

    rtl-optimization/105559 - avoid quadratic behavior in delete_insn_and_edges

    When the insn to delete is a debug insn there's no point in figuring
    out whether it might be the last real insn and thus we have to purge
    dead edges.

    2022-05-11  Richard Biener  <rguent...@suse.de>

            PR rtl-optimization/105559
            * cfgrtl.c (delete_insn_and_edges): Only perform search to BB_END
            for non-debug insns.

    (cherry picked from commit 37a8220fa9188470c677abfef50c1b120c0b6c76)

Reply via email to