[Bug rtl-optimization/98863] [11 Regression] WRF with LTO consumes a lot of memory in REE, FWPROP and x86 specific passes

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 13:35:21 GMT 2021


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

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

https://gcc.gnu.org/g:4311ae206da13a9bfdb4245feb400dbee0f528a0

commit r10-9330-g4311ae206da13a9bfdb4245feb400dbee0f528a0
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jan 29 13:25:49 2021 +0100

    rtl-optimization/98863 - fix PRE/CPROP memory usage check

    This fixes overflow of the memory usage estimate in turn failing
    to disable itself on WRF with LTO, causing a few GBs worth of
    memory peak.

    2021-01-29  Richard Biener  <rguenther@suse.de>

            PR rtl-optimization/98863
            * gcse.c (gcse_or_cprop_is_too_expensive): Use unsigned
            HOST_WIDE_INT for the memory estimate.

    (cherry picked from commit cb52e59e33845152cef6f9042a142a246e9447f6)


More information about the Gcc-bugs mailing list