https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123809
--- Comment #4 from Jan Schultke <janschultke at googlemail dot com> ---
I ran the same code through the same version of GCC on the same Ubuntu distro,
but on a different device, and got the following trace:
‘
internal compiler error: error reporting routines re-entered.
0x6e2159 error_at(unsigned int, char const*, ...)
???:0
0xd99ff0 satisfaction_cache::save(tree_node*)
???:0
0x1bb6e23 lookup_and_finish_template_variable(tree_node*, tree_node*, int)
???:0
0x1789a4a tsubst_expr(tree_node*, tree_node*, int, tree_node*)
???:0
0x178887a tsubst_expr(tree_node*, tree_node*, int, tree_node*)
???:0
0x177bf32 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
???:0
0x171f316 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x1a9eb23 pp_format(pretty_printer*, text_info*, urlifier const*)
???:0
0x6de182 pp_format_verbatim(pretty_printer*, text_info*)
???:0
0x6de0f0 pp_verbatim(pretty_printer*, char const*, ...)
???:0
0x14d84ae diagnostic_context::report_diagnostic(diagnostic_info*)
???:0
0x6e2159 error_at(unsigned int, char const*, ...)
???:0
0xd99ff0 satisfaction_cache::save(tree_node*)
???:0
0x166e95a build_new_function_call(tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
???:0
0x166df44 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**,
bool, bool, int)
???:0
0x17896cb tsubst_expr(tree_node*, tree_node*, int, tree_node*)
???:0
0x171ec79 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x171eaff tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x1865874 instantiate_decl(tree_node*, bool, bool)
???:0
0x15af16f instantiate_pending_templates(int)
???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
It's definitely strange that it wouldn't be reproducible on a different device
with the same build, but at least it's reproducible somewhere.