Message ID | e5ef3f24-693a-de9a-b56d-cf3d6cf9410f@netcologne.de |
---|---|
State | New |
Headers | show |
Series | [fortran,committed] Fix PR 89981, rejects valid | expand |
Index: resolve.c =================================================================== --- resolve.c (Revision 269895) +++ resolve.c (Arbeitskopie) @@ -2546,7 +2546,7 @@ resolve_global_procedure (gfc_symbol *sym, locus * if (gsym->binding_label && gsym->sym_name != def_sym->name) gfc_find_symbol (gsym->sym_name, gsym->ns, 0, &def_sym); - if (def_sym->attr.entry_master) + if (def_sym->attr.entry_master || def_sym->attr.entry) { gfc_entry_list *entry; for (entry = gsym->ns->entries; entry; entry = entry->next)