From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E7733858C33; Mon, 14 Aug 2023 11:58:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E7733858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692014292; bh=qCiYF+ytdXQ0a7qrRo7C57yhdjLrAD2Mb1R+DatPNAE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=duLvgsFusVBndoPwxNC5kj8l8lC0If3p3lp2SmUIu7FoN2UTt19rkfSyKi7SzbJDZ EpVpY0x1dd9bH0/hYbZqPHQnOVmv9oQUkmV2zgzHegguZfs4p1WRx84dhdqw6EFuUo 9HX53R50DMrmDvju+v6UZETYKVrUz4yeSgwLg4R8= From: "yagreg7 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108080] ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header Date: Mon, 14 Aug 2023 11:58:11 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: yagreg7 at gmail dot com 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: 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=3D108080 --- Comment #7 from Gregory Dushkin --- Sorry for splitting the comments, but the issue indeed appears to be tied to optimization options. When manually specifying -Og, -O1, -O2, -O3, -Os the compilation is successful. I only observe the ICE with -O0 or no optimizati= on options.=