https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61573
--- Comment #4 from Martin Liška <mliska at suse dot cz> --- fndecl deletion place: Old value = (tree) 0x7ffff6d4a700 New value = (tree) 0xa5a5a5a5a5a5a5a5 memset () at ../sysdeps/x86_64/memset.S:90 90 ../sysdeps/x86_64/memset.S: No such file or directory. (gdb) bt #0 memset () at ../sysdeps/x86_64/memset.S:90 #1 0x00000000006478e7 in ggc_free (p=<optimized out>) at ../../gcc/ggc-page.c:1592 #2 0x00000000006bdeac in release_function_body (decl=0x7ffff6d4a800) at ../../gcc/cgraph.c:1704 #3 0x00000000006be030 in cgraph_release_function_body (node=0x7ffff6d69170) at ../../gcc/cgraph.c:1729 #4 0x00000000006be431 in cgraph_remove_node (node=0x7ffff6d69170) at ../../gcc/cgraph.c:1814 #5 0x000000000055f7aa in duplicate_decls (newdecl=0x7ffff6d4a800, olddecl=0x7ffff6d4a700) at ../../gcc/c/c-decl.c:2584 #6 0x000000000056008e in pushdecl (x=0x7ffff6d4a800) at ../../gcc/c/c-decl.c:2725 #7 0x0000000000564673 in start_decl (declarator=0x1876620, declspecs=0x1876590, initialized=false, attributes=0x0) at ../../gcc/c/c-decl.c:4277 #8 0x00000000005cd865 in c_parser_declaration_or_fndef (parser=parser@entry=0x7ffff6d67000, fndef_ok=false, fndef_ok@entry=true, static_assert_ok=static_assert_ok@entry=true, empty_ok=empty_ok@entry=true, nested=nested@entry=false, start_attr_ok=start_attr_ok@entry=true, objc_foreach_object_declaration=objc_foreach_object_declaration@entry=0x0, omp_declare_simd_clauses=..., omp_declare_simd_clauses@entry=...) at ../../gcc/c/c-parser.c:1798 #9 0x00000000005d26b6 in c_parser_external_declaration (parser=0x7ffff6d67000) at ../../gcc/c/c-parser.c:1400 #10 0x00000000005d316a in c_parser_translation_unit (parser=0x7ffff6d67000) at ../../gcc/c/c-parser.c:1287 #11 c_parse_file () at ../../gcc/c/c-parser.c:14082 #12 0x00000000006277c5 in c_common_parse_file () at ../../gcc/c-family/c-opts.c:1067 #13 0x0000000000a09f32 in compile_file () at ../../gcc/toplev.c:548 #14 0x0000000000a0bee5 in do_compile () at ../../gcc/toplev.c:1918 #15 toplev_main (argc=14, argv=0x7fffffffd9b8) at ../../gcc/toplev.c:1994 #16 0x00007ffff6e4ebe5 in __libc_start_main (main=0x554f50 <main(int, char**)>, argc=14, argv=0x7fffffffd9b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd9a8) at libc-start.c:269 #17 0x0000000000554fd1 in _start () at ../sysdeps/x86_64/start.S:122