[Bug rtl-optimization/105559] [12/13 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 11 12:34:55 GMT 2022


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

--- Comment #6 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:37a8220fa9188470c677abfef50c1b120c0b6c76

commit r13-323-g37a8220fa9188470c677abfef50c1b120c0b6c76
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.cc (delete_insn_and_edges): Only perform search to BB_END
            for non-debug insns.


More information about the Gcc-bugs mailing list