This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


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.
>


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