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

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

https://gcc.gnu.org/g:47d3815f0669800666f1dd69f0c5cfecc617a12b

commit r10-9832-g47d3815f0669800666f1dd69f0c5cfecc617a12b
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jan 27 15:35:52 2021 +0100

    rtl-optimization/80960 - avoid creating garbage RTL in DSE

    The following avoids repeatedly turning VALUE RTXen into
    sth useful and re-applying a constant offset through get_addr
    via DSE check_mem_read_rtx.  Instead perform this once for
    all stores to be visited in check_mem_read_rtx.  This avoids
    allocating 1.6GB of garbage PLUS RTXen on the PR80960
    testcase, fixing the memory usage regression from old GCC.

    2021-01-27  Richard Biener  <rguent...@suse.de>

            PR rtl-optimization/80960
            * dse.c (check_mem_read_rtx): Call get_addr on the
            offsetted address.

    (cherry picked from commit a523add327c6cfdd68cf9b788ea808068d0f508c)

Reply via email to