This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR71838 - ICE with OpenCoarrays on submodule


I also forgot the attachment
. ***duuuh***

On 26 February 2017 at 16:01, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> I forgot to switch on 'plain text' mode - apologies
>
> Paul
>
> On 26 February 2017 at 15:58, Paul Richard Thomas
> <paul.richard.thomas@gmail.com> wrote:
>>
>> Dear All,
>>
>> The title in this PR turned out to be a red herring. The problem is with a procedure being a dummy in a submodule module procedure declaration; most particularly the abreviated form.
>>
>> The comments in the fix render the patch self-explanatory.
>>
>> Bootstrapped and regtested on FC23/x86_64 - OK for trunk and a few weeks later 6-branch?
>>
>> Cheers
>>
>> Paul
>>
>> 2017-02-26  Paul Thomas  <pault@gcc.gnu.org>
>>
>>     PR fortran/71838
>>     * symbol.c (check_conflict): A dummy procedure in a submodule,
>>     module procedure is not an error.
>>     (gfc_add_flavor): Ditto.
>>
>> 2017-02-26  Paul Thomas  <pault@gcc.gnu.org>
>>
>>     PR fortran/71838
>>     * gfortran.dg/submodule_26.f08 : New test.
>>     * gfortran.dg/submodule_27.f08 : New test.
>>



-- 
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein

Attachment: submit.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]