This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, fortran] PRs 68237 & 66762 - submodule problems
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Damian Rouson <damian at sourceryinstitute dot org>, Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Date: Fri, 20 Nov 2015 15:59:05 +0100
- Subject: [Patch, fortran] PRs 68237 & 66762 - submodule problems
- Authentication-results: sourceware.org; auth=none
Dear All,
I have committed as 'obvious' revision 230661 to fix 2/3 submodule
problems. In the case of the third, PR68243, I believe gfortran is
behaving correctly and I am awaiting confirmation from the reporter.
Thanks to Dominique for regtesting the part of the patch that fixes PR66762.
I have bootstrapped and regtested both part on FC21/x86_64.
Cheers
Paul
PS I have just noticed that I attributed the wrong part of the patch
to Steve. I will correct the ChangeLog in just a moment.
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.