public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pilarlatiesa at gmail dot com" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-98881-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98881 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=/home/pililatiesa/GCC-11/bin/g++ COLLECT_LTO_WRAPPER=/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=/home/pililatiesa/GCC-11 --enable-languages=c++ --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 <int, int, typename, typename> class TExprSistema; template <typename T> class TExprBase {}; export template<int d, int r1, typename... TRest, template <int, int, typename...> typename T> class TExprBase<T<d, r1, TRest...>> { public: template<typename... URest, template <int, int, typename...> typename U> TExprSistema<d, r1, T<d, r1, TRest...>, U<d, r1, URest...>> inline operator ==(TExprBase<U<d, r1, URest...>> const &rhs) const noexcept { return {*this, rhs}; } }; export template<int d, int r, typename T, typename U> class TExprSistema: public TExprBase<TExprSistema<d, r, T, U>> { private: TExprBase<T> const &lhs; TExprBase<U> const &rhs; public: inline TExprSistema(TExprBase<T> const &lhs_, TExprBase<U> const &rhs_) noexcept : lhs(lhs_), rhs(rhs_) {} }; $ /home/pililatiesa/GCC-11/bin/g++ -fmodules-ts -x c++ -std=c++20 Expresion.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 <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2021-01-29 10:17 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-29 10:17 pilarlatiesa at gmail dot com [this message] 2021-01-29 12:17 ` [Bug c++/98881] " marxin at gcc dot gnu.org 2021-01-29 13:05 ` nathan at gcc dot gnu.org 2021-01-29 19:36 ` nathan at gcc dot gnu.org 2021-02-03 14:50 ` nathan at gcc dot gnu.org 2021-02-15 10:48 ` pilarlatiesa at gmail dot com 2022-05-27 8:58 ` pilarlatiesa at gmail dot com 2024-03-05 16:39 ` pilarlatiesa at gmail dot com 2024-03-07 11:00 ` cvs-commit at gcc dot gnu.org 2024-03-07 11:01 ` nshead at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-98881-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).