From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0AC8E385803B; Thu, 10 Mar 2022 15:05:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AC8E385803B From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/39326] Segmentation fault with -O1, out of memory with -O2 Date: Thu, 10 Mar 2022 15:05:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.3.3 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Thu, 10 Mar 2022 15:05:44 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39326 --- Comment #61 from Richard Biener --- r12-7592, first testcase, x86_64: -O0: 6s, 1GB -O1: 264s, 1.4GB callgraph ipa passes : 30.47 ( 12%) alias stmt walking : 67.44 ( 26%) tree loop invariant motion : 120.86 ( 46%) -O2: 1383s, 11.8GB alias stmt walking : 174.01 ( 13%) tree PRE : 87.85 ( 6%) tree loop invariant motion : 130.54 ( 9%) tree slp vectorization : 100.01 ( 7%) PRE : 716.64 ( 52%) quite some regression on the peak memory usage side here.=