]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/52846 ([F2008] Support submodules)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 17 Sep 2015 09:09:34 +0000 (09:09 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 17 Sep 2015 09:09:34 +0000 (09:09 +0000)
commite3b5d7bae1c9cc9bd1faa905c0526dce2ee90924
treea7c286c611bf842796a367c55951cec6af9a1761
parentfb0f04feaa6710087d04a5214394bd468d983a6b
re PR fortran/52846 ([F2008] Support submodules)

2015-09-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52846
PR fortran/67588
* module.c : Add static no_module_procedures.
(gfc_match_submodule): Correct memory leakage caused during the
freeing of use_lists.
(mio_symbol_attribute): Reset above if module procedure is
encountered.
(gfc_dump_module): Set above and exit without writing smod file
if it reset.
* gfortran.texi : Add section on submodule support.

2015-09-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/52846
* gfortran.dg/public_private_module_5.f90: Add module procedure
trigger_smod to ensure that the smod file is written.

From-SVN: r227855
gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_5.f08