https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- >From several runs frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f0b27 f951`::free_sym_tree(gfc_symtree *) [inlined] free_sym_tree(sym_tree=0x00000000000000ce) at symbol.c:3899:17 frame #0: 0x00000001000f0b27 f951`::free_sym_tree(gfc_symtree *) [inlined] free_sym_tree(sym_tree=0x00000000000000ce) at symbol.c:3899:17 frame #0: 0x00000001000f0b27 f951`::free_sym_tree(gfc_symtree *) [inlined] free_sym_tree(sym_tree=0x00000000000000ce) at symbol.c:3899:17 frame #0: 0x00000001000f0b27 f951`::free_sym_tree(gfc_symtree *) [inlined] free_sym_tree(sym_tree=0x00000000000000ce) at symbol.c:3899:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 frame #0: 0x00000001000f0b27 f951`::free_sym_tree(gfc_symtree *) [inlined] free_sym_tree(sym_tree=0x00000000000000ce) at symbol.c:3899:17 frame #0: 0x00000001000f11ed f951`gfc_free_namespace(gfc_namespace*) [inlined] free_uop_tree(uop_tree=0x00000000000000ce) at symbol.c:3881:17 It seems that some trees are not built properly.