https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63244
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (gdb) bt #0 analyze_functions () at ../../gcc/gcc/cgraphunit.c:1042 #1 0x00000000006e03f0 in finalize_compilation_unit () at ../../gcc/gcc/cgraphunit.c:2326 #2 0x0000000000594dd4 in cp_write_global_declarations () at ../../gcc/gcc/cp/decl2.c:4643 #3 0x0000000000951a4d in compile_file () at ../../gcc/gcc/toplev.c:562 #4 0x0000000000953620 in do_compile () at ../../gcc/gcc/toplev.c:1917 #5 toplev_main (argc=15, argv=0x7fffffffdfb8) at ../../gcc/gcc/toplev.c:1993 #6 0x00007ffff75fcfd0 in __libc_start_main () from /lib/libc.so.6 #7 0x000000000052cf61 in _start () (gdb) l 1037 will be later needed to output debug info. */ 1038 if (DECL_ABSTRACT_ORIGIN (decl)) 1039 { 1040 struct cgraph_node *origin_node 1041 = cgraph_get_node (DECL_ABSTRACT_ORIGIN (decl)); 1042 origin_node->used_as_abstract_origin = true; 1043 } 1044 } 1045 else 1046 {