re PR fortran/79676 ([submodules] Compilation/linking error when module procedures...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Mar 2017 12:38:02 +0000 (12:38 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Mar 2017 12:38:02 +0000 (12:38 +0000)
commit91d2c04ced3420fdbfb5277336b6f4e164ca9f06
tree03b723c0931642c3551a0ea6b0b5a91a10b888cc
parentc7e4107b537c31cbbd22720935073bb4787e9773
re PR fortran/79676 ([submodules] Compilation/linking error when module procedures PRIVATE)

2017-03-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79676
* module.c (mio_symbol_attribute): Remove reset of the flag
'no_module_procedures'.
(check_for_module_procedures): New function. Move declaration
of 'no_module_procedures' to above it.
(gfc_dump_module): Traverse namespace calling new function.

2017-03-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79676
* gfortran.dg/submodule_28.f08 : New test.

From-SVN: r246256
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_28.f08 [new file with mode: 0644]