https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120958
--- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to Martin Jambor from comment #7) > (In reply to kargls from comment #5) > > > > So, if I understand, you want an fnspec of ". . w w w w w w w". > > Can you show f->sym and f->sym-attr from gdb? > > > > (gdb) p *f->sym > $5 = {name = 0x7fffbe64a100 "_formal_70", module = 0x0, declared_at = {nextc > = 0x4c006a4, u = {lb = 0x4c00620, location = 79693344}}, ts = {type = > BT_REAL, kind = 8, u = {derived = 0x0, The interface is guessed by gfc_get_formal_from_actual_arglist, which creates the artifical symbol "_formal_%d". Can we use that information?