https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117153
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The backtrace with locations is: 117153.cc: In instantiation of ‘void f() [with T = double]’: 117153.cc:10:25: required from here 117153.cc:8:5: internal compiler error: Segmentation fault 8 | d + 0; | ~~^~~ unrecognized DWARF version in .debug_info at 6 0x166e77a crash_signal ../../gcc/toplev.c:330 0xd141aa is_overloaded_fn(tree_node*) ../../gcc/cp/tree.c:2441 0xa2dfd0 potential_constant_expression_1 ../../gcc/cp/constexpr.c:7760 0xa2e03c potential_constant_expression_1 ../../gcc/cp/constexpr.c:7769 0xa2da5e potential_constant_expression_1 ../../gcc/cp/constexpr.c:7668 0xa2dd51 potential_constant_expression_1 ../../gcc/cp/constexpr.c:7702 0xa301b4 potential_constant_expression_1 ../../gcc/cp/constexpr.c:8272 0xa308cf potential_constant_expression_1(tree_node*, bool, bool, bool, int) ../../gcc/cp/constexpr.c:8377 0xa308fe potential_constant_expression(tree_node*) ../../gcc/cp/constexpr.c:8386 0xc8bab0 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../gcc/cp/pt.c:19620 0xc88eae tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/cp/pt.c:18919 0xc81945 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/cp/pt.c:18024 0xc816d7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/cp/pt.c:17994 0xc8421f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/cp/pt.c:18311 0xca6419 instantiate_body ../../gcc/cp/pt.c:25616 0xca7dee instantiate_decl(tree_node*, bool, bool) ../../gcc/cp/pt.c:25905 0xca819a instantiate_pending_templates(int) ../../gcc/cp/pt.c:25984 0xb01b85 c_parse_final_cleanups() ../../gcc/cp/decl2.c:4904 0xdfecfb c_common_parse_file() ../../gcc/c-family/c-opts.c:1210 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.