[multiple changes]
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 20 Nov 2015 14:50:35 +0000 (14:50 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 20 Nov 2015 14:50:35 +0000 (14:50 +0000)
commitcded791923589322b993c18c19179d601943df87
treef8729d6392d23ecf7ed26cc71ed090142cf675a0
parent3be962317494f61771391c828558a240e3f37e19
[multiple changes]

2015-11-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68237
* decl.c (gfc_match_submod_proc): Test the interface symbol
before accessing its attributes.

2015-11-20  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66762
(gfc_get_symbol_decl): Test for attr.used_in_submodule as well
as attr.use_assoc (twice).
(gfc_create_module_variable): Ditto.

2015-11-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68237
* gfortran.dg/submodule_12.f90: New test

PR fortran/66762
* gfortran.dg/submodule_6.f90: Add compile option -flto.

From-SVN: r230661
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_12.f08 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/submodule_6.f08