public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "eric.niebler at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109790] New: internal compiler error in write_member_name, at cp/mangle.cc:2992 Date: Tue, 09 May 2023 16:11:38 +0000 [thread overview] Message-ID: <bug-109790-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109790 Bug ID: 109790 Summary: internal compiler error in write_member_name, at cp/mangle.cc:2992 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eric.niebler at gmail dot com Target Milestone: --- Created attachment 55032 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55032&action=edit the result of -freport-bug Compile the attached test_when_all.i.cpp with: g++ -std=c++20 -fext-numeric-literals -Wno-non-template-friend \ test_when_all.i.cpp Result: In file included from /home/eniebler/Code/stdexec/include/stdexec/execution.hpp:35, from /home/eniebler/Code/stdexec/test/stdexec/algos/adaptors/test_when_all.cpp:18: /home/eniebler/Code/stdexec/include/stdexec/__detail/__tuple.hpp: In instantiation of ‘constexpr stdexec::__tup::__tuple_for<_Ts ...> stdexec::__tup::__make_tuple_fn::operator()(_Ts ...) const [with _Ts = {____C_A_T_C_H____T_E_S_T____24()::<lambda(int, int, int)>}]’: /home/eniebler/Code/stdexec/include/stdexec/__detail/__tuple.hpp:284:37: required from here /home/eniebler/Code/stdexec/include/stdexec/__detail/__tuple.hpp:284:37: internal compiler error: in write_member_name, at cp/mangle.cc:2992 284 | constexpr __tuple_for<_Ts...> operator()(_Ts... __ts) const | ^~~~~~~~ 0x9acf33 write_member_name ../../gcc/cp/mangle.cc:2992 0x9ace8f write_member_name ../../gcc/cp/mangle.cc:2999 0x9ad8ce write_expression ../../gcc/cp/mangle.cc:3668 0x9adecc write_expression ../../gcc/cp/mangle.cc:3592 0x9b290c write_type ../../gcc/cp/mangle.cc:2489 0x9b198c write_template_args ../../gcc/cp/mangle.cc:2966 0x9b7e2f write_nested_name ../../gcc/cp/mangle.cc:1154 0x9b26de write_class_enum_type ../../gcc/cp/mangle.cc:2937 0x9b26de write_type ../../gcc/cp/mangle.cc:2362 0x9b6739 write_bare_function_type ../../gcc/cp/mangle.cc:2856 0x9b699b write_mangled_name ../../gcc/cp/mangle.cc:799 0x9b8827 mangle_decl_string ../../gcc/cp/mangle.cc:4143 0x9b8ac8 get_mangled_id ../../gcc/cp/mangle.cc:4164 0x9b8ac8 mangle_decl(tree_node*) ../../gcc/cp/mangle.cc:4202 0x15934b5 decl_assembler_name(tree_node*) ../../gcc/tree.cc:715 0x15c6d59 assign_assembler_name_if_needed(tree_node*) ../../gcc/tree.cc:830 0xd126f1 cgraph_node::analyze() ../../gcc/cgraphunit.cc:677 0xd15f7a analyze_functions ../../gcc/cgraphunit.cc:1247 0xd170ed symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2554 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2023-05-09 16:11 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-09 16:11 eric.niebler at gmail dot com [this message] 2023-05-09 16:12 ` [Bug c++/109790] " eric.niebler at gmail dot com 2023-05-09 16:18 ` pinskia at gcc dot gnu.org 2023-05-09 19:39 ` pinskia at gcc dot gnu.org 2023-05-09 22:25 ` [Bug c++/109790] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org 2023-05-09 22:54 ` mpolacek at gcc dot gnu.org 2023-05-10 7:06 ` rguenth at gcc dot gnu.org 2023-05-16 12:33 ` ppalka at gcc dot gnu.org 2023-05-29 10:08 ` jakub 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-109790-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).