[Bug rtl-optimization/105559] [9/10/11 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 19 14:03:41 GMT 2022


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

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

commit r11-10021-gd293946d5c318549af88f96c4c2175dcbb8f4cf1
Author: Richard Biener <rguenther@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  <rguenther@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)


More information about the Gcc-bugs mailing list