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