From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CCE163858C50; Wed, 5 Apr 2023 12:50:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCE163858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680699042; bh=nTiHq8AWBlXT45otwNz+SRriycd33bYdhR7NCbZH9bU=; h=From:To:Subject:Date:From; b=Tcz3LIOxI/Q6tnx3VoCZOQzr/eub/4APOtEVqjXxmdsAnoFUa8u+Dpb+cpnQW5axn e70dxcCmxNvRQXFh4JnpYfWyXqVsnYptmWE0dHm51zaPE4aJMxEfA9EKWmNq61gfqe fiK/W1iaBvAL1jMHtMojReJOCk5gXdkwY/wDLo2Y= From: "pappi-@gmx.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109419] New: [modules] ICE: Segmentation fault when using -fmodules-ts and -g Date: Wed, 05 Apr 2023 12:50:42 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pappi-@gmx.de 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 bug_severity priority component assigned_to reporter target_milestone 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=3D109419 Bug ID: 109419 Summary: [modules] ICE: Segmentation fault when using -fmodules-ts and -g Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pappi-@gmx.de Target Milestone: --- compiling=20 -8x-------8x-------8x-------8x------- #include struct A { A() { s.insert(1); } std::set s; }; #include -8x-------8x-------8x-------8x------- as test.cpp with=20 g++ -ggdb -std=3Dc++20 -fmodules-ts -freport-bug -c test.cpp leads to an segmentation fault: internal compiler error: Segmentation fault signal terminated program cc1pl= us=