From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 336033858D37; Mon, 26 Sep 2022 22:48:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 336033858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664232528; bh=TDmMEzUQcrT0l99SlR6ytzT2HtpBgv+r4MYSq0ZGmQA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ja71g3Oy0ChbUiU/epZ2i8vv/nJ/tyCPzJYDEg6KFFypAU6t0cfa79dM/ANVeJw3V AhspSWwtH6gNLVnBiRAdhBMP2IJ7gMHgZWiB2qq5sfQVkS11cxs5yge0mbqPx7MS// l4BEo3L0K8+dbPHOuLHv46Y1QTEW3JHVut56qW9c= From: "johelegp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107045] [modules] ICE on use of std::vector from importable header Date: Mon, 26 Sep 2022 22:48:47 +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: johelegp 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=3D107045 --- Comment #1 from Johel Ernesto Guerrero Pe=C3=B1a --- Minimal: https://godbolt.org/z/hxrPvPPhs. ```C++ namespace std { template struct X { friend void f(); }; } ``` ```C++ export module mod; import "std.hpp"; export std::X v; ```=