2019-04-06 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/89981
* resolve.c (resolve_global_procedure): If the global symbol is an
ENTRY, also look up its name among the entries.
2019-04-06 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/89981
* gfortran.dg/entry_22.f90: New test.
From-SVN: r270182
+2019-04-06 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/89981
+ * resolve.c (resolve_global_procedure): If the global symbol is an
+ ENTRY, also look up its name among the entries.
+
2019-04-04 Harald Anlauf <anlauf@gmx.de>
PR fortran/89004
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)
+2019-04-06 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/89981
+ * gfortran.dg/entry_22.f90: New test.
+
2019-04-05 Marek Polacek <polacek@redhat.com>
PR c++/87145 - bogus error converting class type in template arg list.
--- /dev/null
+! { dg-do compile }
+! { dg-additional-options "-pedantic" }
+! PR fortran/89981 - this used to give a wrong warning (error with
+! -pedantic)
+program main
+ call bar(i)
+ call baz(i) ! { dg-error "Type mismatch in argument" }
+end program main
+subroutine foo(r)
+ entry bar(i)
+ entry baz(r)
+end subroutine foo