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  <pa...@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  <ka...@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  <pa...@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.

Reply via email to