https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98863
--- Comment #23 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:cb52e59e33845152cef6f9042a142a246e9447f6 commit r11-6973-gcb52e59e33845152cef6f9042a142a246e9447f6 Author: Richard Biener <rguent...@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 <rguent...@suse.de> PR rtl-optimization/98863 * gcse.c (gcse_or_cprop_is_too_expensive): Use unsigned HOST_WIDE_INT for the memory estimate.