This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[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>
- Date: Sun, 26 Feb 2017 16:01:25 +0000
- Subject: [Patch, fortran] PR71838 - ICE with OpenCoarrays on submodule
- Authentication-results: sourceware.org; auth=none
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.
>