re PR fortran/88299 ([F18] COMMON in a legacy module produces bogus warnings in depen...
authorHarald Anlauf <anlauf@gmx.de>
Sun, 17 Feb 2019 21:19:20 +0000 (21:19 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Sun, 17 Feb 2019 21:19:20 +0000 (21:19 +0000)
commit0f7cec0982a2866f36d17e2ac1c1b05d69e6154d
tree9d0429003ce847666f183a45e6f00854304c1587
parente6ca33ba57dd55357cf2fd97c81fd12daca465a3
re PR fortran/88299 ([F18] COMMON in a legacy module produces bogus warnings in dependent code)

2019-02-17  Harald Anlauf  <anlauf@gmx.de>

PR fortran/88299
* resolve.c (resolve_common_blocks,resolve_common_vars): Move
check for obsolent COMMON feature in F2018 to better place.

PR fortran/88299
* gfortran.dg/pr88299.f90: New test.

From-SVN: r268974
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr88299.f90 [new file with mode: 0644]