From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6ED793858412; Tue, 17 Oct 2023 17:00:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6ED793858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697562057; bh=Dvxf5pzfnPK4bid+JUZCMc8+rqirboO0mz1hE8TfMgo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JoAemJoNtEU781KqK8y/mXSWDgPgxovgSTxLZwb7TF+Cxw8nJsK7rjwT6SQ2dPxRF 61OfU5FqHwTs+WWrBE8rsofbLyZHAliQW9L5fkRo4BFJkFSxFrgn/EXAF1iImEHTeK Zvn3EliidwFf40NaMS+NCoLgebrwV30w4xHHBY3o= From: "mends-sputter.0z at icloud dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111785] [modules] ICE when compiling fmt lib as module Date: Tue, 17 Oct 2023 17:00:55 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mends-sputter.0z at icloud 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=3D111785 --- Comment #2 from Luis Caro Campos -= -- Thanks Patrick for looking into this. I think your message got cut off? I've removed the calls to the GCC optimize pragmas, and still get an ICE: src/fmt.cc:71:8: internal compiler error: in insert, at cp/module.cc:4920 71 | export module fmt; | ^ 0x9a371f trees_out::insert(tree_node*, walk_kind) ../../gcc/cp/module.cc:4920 0x9a6e37 trees_out::decl_node(tree_nod This time the error references a different line of the same module.cc file,= in case that is relevant.=