From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3582B3938C24; Fri, 18 Dec 2020 09:52:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3582B3938C24 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98363] C++ 20 module ICE for fast_io library Date: Fri, 18 Dec 2020 09:52:48 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: keywords 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 09:52:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98363 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection, | |needs-reduction | --- Comment #3 from Martin Li=C5=A1ka --- Reduced test-case: cat pr98363.C module; # 1 "" 1 template concept derived_from =3D __is_base_of(_Base, _Derived); namespace ranges { int swap; } template concept swappable =3D requires { ranges::swap; }; template concept movable =3D swappable<_Tp>; namespace __detail { template concept __weakly_eq_cmp_with =3D requires(_Tp __t) { __t; }; } // namespace __detail template struct iterator_traits; struct input_iterator_tag; namespace __detail { template using __iter_concept =3D _Iter; } template concept weakly_incrementable =3D movable<_Iter>; template concept input_or_output_iterator =3D weakly_incrementable<_Iter>; template concept sentinel_for =3D __detail::__weakly_eq_cmp_with<_Sent, _Iter>; template concept input_iterator =3D derived_from<__detail::__iter_concept<_Iter>, input_iterator_tag>; template struct iterator; template class reverse_iterator : iterator::value_type> {}; template > class common_iterator; template struct iterator_traits>; class basic_string_view { using value_type =3D int; using const_iterator =3D value_type; using const_reverse_iterator =3D reverse_iterator; }; # 3 "" 2 export module hello; void greeter(basic_string_view); Started with r11-6084-g4efde6781bba8d64.=