]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-decl.c
2015-11-20 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2015 14:50:35 +0000 (14:50 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2015 14:50:35 +0000 (14:50 +0000)
commitfe9d2f5af8bfc135040406ea88d194b5d88e6c0f
treef8729d6392d23ecf7ed26cc71ed090142cf675a0
parent38f4c9671e70a0759fc63ab579db821d7ab6f704
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230661 138bc75d-0d04-0410-961f-82ee72b054a4
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