From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 11FC7398E467; Wed, 3 Feb 2021 12:33:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11FC7398E467 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/98863] [11 Regression] WRF with LTO consumes a lot of memory in REE, FWPROP and x86 specific passes Date: Wed, 03 Feb 2021 12:33:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: memory-hog, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 12:33:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98863 --- Comment #38 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:550bf0c50024c320b7010d1b2bf644c5c918ad98 commit r10-9341-g550bf0c50024c320b7010d1b2bf644c5c918ad98 Author: Richard Biener Date: Fri Jan 29 16:02:36 2021 +0100 rtl-optimization/98863 - tame i386 specific RPAD pass This removes analyzing DF with expensive problems which we do not use at all and which somehow cause 5GB of memory to leak. Instead just do a defered rescan of added insns. This avoids > FAIL: gcc.c-torture/compile/20051216-1.c -O1 (internal compiler er= ror) > FAIL: gcc.c-torture/compile/20051216-1.c -O1 (test for excess erro= rs) by clearing DF_DEFER_INSN_RESCAN after calling df_process_deferred_resc= ans, so that it doesn't leak into following unprepared passes that expect non-deferred rescans. 2021-02-03 Richard Biener Jakub Jelinek PR rtl-optimization/98863 * config/i386/i386-features.c (remove_partial_avx_dependency): Do not perform DF analysis. (pass_data_remove_partial_avx_dependency): Remove TODO_df_finish. * gcc.target/i386/20051216-1.c: New test.=