public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "porten at kde dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114795] internal compiler error: in finish_member_declaration after module import in gcc 14.0.1 snapshot Date: Mon, 22 Apr 2024 22:49:31 +0000 [thread overview] Message-ID: <bug-114795-4-Mq66FPMwsc@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-114795-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114795 --- Comment #6 from porten at kde dot org --- The test case for the other ICE is quite similar to the first one: ------------- command ------------ g++ -std=c++2a -fmodules-ts -c url.cpp queue.cpp ----------- url.cp --------------- module; #include <chrono> export module url; ----------- queue.cpp ------------- #include <chrono> import url; #include <format> void foo() { (void)std::format("bar"); } --------- output -------------- In file included from /opt/gcc-14/include/c++/14.0.1/bits/chrono_io.h:39, from /opt/gcc-14/include/c++/14.0.1/chrono:3360, from queue.cpp:1: /opt/gcc-14/include/c++/14.0.1/format: In member function ‘auto std::__format::_Sink_iter<_CharT>::_M_reserve(std::size_t) const [with _CharT = char]’: /opt/gcc-14/include/c++/14.0.1/format:2632:7: error: invalid conversion in return statement 2632 | _M_reserve(size_t __n) const | ^~~~~~~~~~ <<< Unknown tree: template_type_parm >>> struct _Reservation return D.207483; /opt/gcc-14/include/c++/14.0.1/format:2632:7: internal compiler error: ‘verify_gimple’ failed 0x138b51e verify_gimple_in_seq(gimple*, bool) /home/porten/git/gcc/gcc/tree-cfg.cc:5318 0x10226ba gimplify_body(tree_node*, bool) /home/porten/git/gcc/gcc/gimplify.cc:19234 0x1022876 gimplify_function_tree(tree_node*) /home/porten/git/gcc/gcc/gimplify.cc:19352 0xe42f17 cgraph_node::analyze() /home/porten/git/gcc/gcc/cgraphunit.cc:687 0xe45a77 analyze_functions /home/porten/git/gcc/gcc/cgraphunit.cc:1251 0xe469fd symbol_table::finalize_compilation_unit() /home/porten/git/gcc/gcc/cgraphunit.cc:2560
next prev parent reply other threads:[~2024-04-22 22:49 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-21 14:38 [Bug c++/114795] New: " porten at kde dot org 2024-04-21 22:17 ` [Bug c++/114795] " porten at kde dot org 2024-04-22 0:20 ` porten at kde dot org 2024-04-22 1:52 ` nshead at gcc dot gnu.org 2024-04-22 7:37 ` porten at kde dot org 2024-04-22 8:51 ` nshead at gcc dot gnu.org 2024-04-22 22:49 ` porten at kde dot org [this message] 2024-04-23 16:14 ` ppalka at gcc dot gnu.org 2024-04-23 18:01 ` cvs-commit at gcc dot gnu.org 2024-04-23 18:09 ` ppalka at gcc dot gnu.org 2024-04-24 7:15 ` porten at kde dot 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-114795-4-Mq66FPMwsc@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).