[Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 17 21:19:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88299
--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 17 21:19:20 2019
New Revision: 268974
URL: https://gcc.gnu.org/viewcvs?rev=268974&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/pr88299.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list