From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C53C33857351; Tue, 9 May 2023 20:27:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C53C33857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683664032; bh=o34TahMRoNbxJJYEyTTX5Dabd36pvGpLN4w5hGCOblE=; h=From:To:Subject:Date:From; b=bxqE5gn30/n6qmVNuMbhdWj47D1kb9RBozkJh7LGQfZkvpBTG5Fdw8aUj1x9ZhMJ7 49Nq5IDSGM6H8Ich/iego0TbsDQXb2HuS74cWAqQpJmDBf5VWK7j6gukM8puG+KH5W ZL5L2D9osiXsTQOzEcCPyHIvGPRfyZmbmdK0i4kY= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu Date: Tue, 09 May 2023 20:27:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D109794 Bug ID: 109794 Summary: Compile time hog when building chromium on aarch64-unknown-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: compile-time-hog, memory-hog Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 55034 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55034&action=3Dedit evaluate_prg_hwy.ii.xz Originally reported downstream in Gentoo at https://bugs.gentoo.org/905818. With GCC 12 (12.2.1 20230505), this has reached over 30GB memory usage befo= re I killed it. I've asked the reporter for preprocessed source for 13 as well. Reproduces for me with 12 using: ``` g++-12 -c evaluate_prg_hwy.ii -std=3Dc++20 -O2 ``` but even -O0 is enough.=