https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121366
kargls at comcast dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargls at comcast dot net --- Comment #3 from kargls at comcast dot net --- The indirection is subverting name resolution. In iresolve.cc, one has void gfc_resolve_trig (gfc_expr *f, gfc_expr *x) { f->ts = x->ts; f->value.function.name = gfc_get_string (PREFIX ("%s_%c%d"), f->value.function.isym->name, gfc_type_letter (x->ts.type), gfc_type_abi_kind (&x->ts)); } but gdb shows (gdb) p f.value.function $10 = {actual = 0x0, name = 0x0, isym = 0x0, esym = 0x0} thus the classic NULL pointer dereference.