https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96533
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 0xccadfb do_warn_unused_parameter(tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/c-family/c-warn.c:2414 0xa74de1 finish_function(bool) /home/apinski/src/upstream-gcc/gcc/gcc/cp/decl.c:17816 0xba9b36 instantiate_body /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:26176 0xbaad6a instantiate_decl(tree_node*, bool, bool) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:26450 0xa8586a maybe_instantiate_decl(tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/cp/decl2.c:5594 0xa86aac maybe_instantiate_decl(tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/cp/decl2.c:5830 0xa86aac mark_used(tree_node*, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/decl2.c:5856 0x9ce2ce build_over_call /home/apinski/src/upstream-gcc/gcc/gcc/cp/call.c:9819 0x9d4f59 build_new_op(op_location_t const&, tree_code, int, tree_node*, tree_node*, tree_node*, tree_node**, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/call.c:6685 0x9d5296 build_new_op(op_location_t const&, tree_code, int, tree_node*, tree_node*, tree_node*, tree_node**, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/call.c:6768 0xc1ead3 build_x_binary_op(op_location_t const&, tree_code, tree_node*, tree_code, tree_node*, tree_code, tree_node**, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/typeck.c:4480 0xb95898 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:20074 0xba60ce tsubst(tree_node*, tree_node*, int, tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:16181 0xa97631 dump_template_bindings /home/apinski/src/upstream-gcc/gcc/gcc/cp/error.c:486 0xa90a8a dump_function_decl /home/apinski/src/upstream-gcc/gcc/gcc/cp/error.c:1806 0xa98dc4 decl_to_string /home/apinski/src/upstream-gcc/gcc/gcc/cp/error.c:3226 0xa98dc4 cp_printer /home/apinski/src/upstream-gcc/gcc/gcc/cp/error.c:4397 0x2118a6c pp_format(pretty_printer*, text_info*) /home/apinski/src/upstream-gcc/gcc/gcc/pretty-print.c:1475 0x211ac00 pp_format_verbatim(pretty_printer*, text_info*) /home/apinski/src/upstream-gcc/gcc/gcc/pretty-print.c:1536 0x211ac00 pp_verbatim(pretty_printer*, char const*, ...) /home/apinski/src/upstream-gcc/gcc/gcc/pretty-print.c:1790 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.