From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B620F3858D28; Thu, 28 Mar 2024 10:12:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B620F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711620728; bh=LWDC/K9Dq9HFUYbQmtV8+cj6QcFmEkR6t/v7VHyKjWE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U6r1HVykCItd3qjBkiIpqC5OkE4nJ9u6mzOADtVoN6yq9oCSRguSiOFcR9iHHHOiy itkAZ74EUZ5LUbB7kGJPRc24cdI25JLhDvHZ5CwVoOxZ7NsRQhKganHzd+AdcdVw2q cCyVI1zTmwN86P0NSt2+so3x0Gx0SzT0B2i3czps= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114480] g++: internal compiler error: Segmentation fault signal terminated program cc1plus Date: Thu, 28 Mar 2024 10:12:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.4.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog, ra 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: attachments.created 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114480 --- Comment #14 from Richard Biener --- Created attachment 57829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57829&action=3Dedit smaller testcase Smaller testcase, shows the same compile-time issue at -O0. At -O1 it's a = lot less bad but memory usage is better (8GB), so the slowness of the full test= case is likely memory bandwidth related. -O1 is then tree PTA : 20.59 ( 21%) expand vars : 9.19 ( 9%) expand : 14.26 ( 15%)=