https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120620
Bug ID: 120620 Summary: Internal Compiler Error in tree.cc, Line #11240 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thomaspkhealy at yahoo dot com Target Milestone: --- The following GodBolt shows the compiler crash: https://godbolt.org/z/7xx935Wbr Here's what it's saying: x2287465 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x22989b6 internal_error(char const*, ...) ???:0 0x7d443e fancy_abort(char const*, int, char const*) ???:0 0x8334a3 maybe_constant_value(tree_node*, tree_node*, mce_value) ???:0 0x8a9363 fold_for_warn(tree_node*) ???:0 0xa19103 check_return_expr(tree_node*, bool*, bool*) ???:0 0x9d4268 finish_return_stmt(tree_node*) ???:0 0x99f62f instantiate_decl(tree_node*, bool, bool) ???:0 0x9c5b03 instantiate_pending_templates(int) ???:0 0x898b1a c_parse_final_cleanups() ???:0 0xa8b768 c_common_parse_file() ???:0