[Bug fortran/89981] [8 Regression] gfortran -pedantic rejects code in 8.3.1 that is accepted with 8.3.0

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89981

--- Comment #6 from Thomas Koenig  ---
Author: tkoenig
Date: Sun Apr 14 11:26:18 2019
New Revision: 270350

URL: https://gcc.gnu.org/viewcvs?rev=270350=gcc=rev
Log:
2019-04-14  Thomas Koenig  

Backport from trunk
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-14  Thomas Koenig  

Backport from trunk
PR fortran/89981
* gfortran.dg/entry_22.f90: New test.


Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/entry_22.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/resolve.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug fortran/89981] [8 Regression] gfortran -pedantic rejects code in 8.3.1 that is accepted with 8.3.0

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89981

Thomas Koenig  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Thomas Koenig  ---
Fixed on all affected branches, closing.

[Bug fortran/89981] [8 Regression] gfortran -pedantic rejects code in 8.3.1 that is accepted with 8.3.0

2019-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89981

Thomas Koenig  changed:

   What|Removed |Added

Summary|[8/9 Regression] gfortran   |[8 Regression] gfortran
   |-pedantic rejects code in   |-pedantic rejects code in
   |8.3.1 that is accepted with |8.3.1 that is accepted with
   |8.3.0   |8.3.0

--- Comment #5 from Thomas Koenig  ---
Fixed on trunk so far.