https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78239
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- The namespace of the Program received signal SIGSEGV, Segmentation fault. 0x000000000067270d in char_len_param_value (expr=0x7fffffffd2d8, deferred=<optimized out>) at ../../trunk/gcc/fortran/decl.c:926 warning: Source file is more recent than executable. 926 || e->symtree->n.sym->ns->parent->seen_implicit_none == 1)) (gdb) p e $1 = (gfc_expr *) 0x23523c0 (gdb) p e->symtree $2 = (gfc_symtree *) 0x2350660 (gdb) p e->symtree->n.sym $3 = (gfc_symbol *) 0x2351ba0 (gdb) p e->symtree->n.sym->ns $4 = (gfc_namespace *) 0x23d1ab0 (gdb) p e->symtree->n.sym->ns->parent $5 = (gfc_namespace *) 0x0 n is put into a namespace without a parent: (gdb) p e->symtree->n.sym.name $8 = 0x7ffff7503060 "n"