re PR fortran/82550 (program using submodules fails to link)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 18 Oct 2017 08:55:27 +0000 (08:55 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 18 Oct 2017 08:55:27 +0000 (08:55 +0000)
commitee077fcb8cdb4b4b54e4e7363eec401607c08c2c
treefd3c94ed0ddeea9c01879839f77bc413085d7183
parent04612f7f8452021ad4eba08f03bc98b196753330
re PR fortran/82550 (program using submodules fails to link)

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

PR fortran/82550
* trans_decl.c (gfc_get_symbol_decl): Procedure symbols that
have the 'used_in_submodule' attribute should be processed by
'gfc_get_extern_function_decl'.

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

PR fortran/82550
* gfortran.dg/submodule_30.f08 : New test.

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