From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DA8E43857C40; Fri, 29 Jan 2021 10:17:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA8E43857C40 From: "pilarlatiesa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98881] New: [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933 Date: Fri, 29 Jan 2021 10:17:23 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pilarlatiesa 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: 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 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, 29 Jan 2021 10:17:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98881 Bug ID: 98881 Summary: [modules] internal compiler error: in tpl_parms_fini, at cp/module.cc:9933 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pilarlatiesa at gmail dot com Target Milestone: --- $ /home/pililatiesa/GCC-11/bin/g++ -v Using built-in specs. COLLECT_GCC=3D/home/pililatiesa/GCC-11/bin/g++ COLLECT_LTO_WRAPPER=3D/home/pililatiesa/GCC-11/bin/../libexec/gcc/x86_64-pc= -linux-gnu/11.0.0/lto-wrapper.exe Target: x86_64-pc-linux-gnu Configured with: ../gcc-master/configure --prefix=3D/home/pililatiesa/GCC-11 --enable-languages=3Dc++ --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20210129 (experimental) (GCC) $ cat Expresion.ixx export module Expr; template class TExprSistema; template class TExprBase {}; export template typename T> class TExprBase> { public: template typename U> TExprSistema, U> inline operator =3D=3D(TExprBase> const &rhs) const no= except { return {*this, rhs}; } }; export template class TExprSistema: public TExprBase> { private: TExprBase const &lhs; TExprBase const &rhs; public: inline TExprSistema(TExprBase const &lhs_, TExprBase const &rhs_) noexcept : lhs(lhs_), rhs(rhs_) {} }; $ /home/pililatiesa/GCC-11/bin/g++ -fmodules-ts -x c++ -std=3Dc++20 Expresi= on.ixx -o foo Expresion.ixx:2:8: internal compiler error: in tpl_parms_fini, at cp/module.cc:9933 2 | export module Expr; | ^~~~~~ Expresion.ixx:2:8: internal compiler error: Aborted g++: internal compiler error: Aborted signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See for instructions.=