From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E7AF03858037; Fri, 16 Feb 2024 16:49:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7AF03858037 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708102192; bh=KKdpPCBVwJkMPrV57PwsMsBvfgAx4Mm/S8f6xmWH57A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BzpqEE/ZZoFVrLt2qOj5VJ8lyVAxXRhCuQVXqrmTm0JfobYOPVFTlxb/aCMpS9Mjt p5uPaGt8ujtyQ2D6G4vHxNbP16BZ+VkKy7Wz08VhZ9YRhmld7DhHE2OLznvnBT+7U1 YNhDO+7SzK5p5I5fpe1HQv3p4YKRig9Tdufdtjb8= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104919] [modules] enum in constexpr function causes "failed to read compiled module cluster 1: Bad file data" Date: Fri, 16 Feb 2024 16:49:52 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: cc bug_status cf_reconfirmed_on see_also everconfirmed 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=3D104919 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2024-02-16 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D106009 Ever confirmed|0 |1 --- Comment #1 from Patrick Palka --- s/constexpr/inline also triggers the bug, unsurprisingly. PR106009 about templated local enums might be related.=