This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR71838 - ICE with OpenCoarrays on submodule
- 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>
- Cc: mexas at bristol dot ac dot uk, Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Date: Sat, 18 Mar 2017 12:43:58 +0000
- Subject: Re: [Patch, fortran] PR71838 - ICE with OpenCoarrays on submodule
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiK3rk=rRM+Vj77=zB-_Cp82OHpaROZQq77qTRxDHrjn9A@mail.gmail.com>
Dear All,
I have just noticed that this patch never went to the list because it
contained some mime content. As it happens, Anton has tested it and it
is relatively trivial. This is just as well because I have unwittingly
gone ahead and committed it as revision 246255!
Cheers
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