https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79382

--- Comment #7 from Walt Brainerd <walt.brainerd at gmail dot com> ---
With GENERIC and PUBLIC statements
   ifort says "No visible interface"
   gfortran gets an ICE
   So I assume the code is wrong, as you suggest, but both give funny
messages

With the other "bug" I filed: program g_bug2:
With an interface block and PUBLIC
   gfortran gives a strange message about "Module nature" on the USE
statement
   ifort works correctly.

I hope this helps; let me know if I can do anything else.

On Mon, Feb 6, 2017 at 11:01 AM, paul.richard.thomas at gmail dot com <
gcc-bugzi...@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79382
>
> --- Comment #5 from paul.richard.thomas at gmail dot com
> <paul.richard.thomas at gmail dot com> ---
> Hi Walt,
>
> My reading of the situation is that since, in this version, the
> generic procedure is typebound in a public derived type, the PUBLIC
> attribute is already accorded it..... I think!
>
> Do you have access to a recent copy of ifort? Mine is on my
> workstation, which is still in storage after a house move. I would be
> curious to know how it responds to both the typebound and the explicit
> generic interface versions.
>
> Best regards
>
> Paul
>
> On 6 February 2017 at 17:50, walt.brainerd at gmail dot com
> <gcc-bugzi...@gcc.gnu.org> wrote:
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79382
> >
> > --- Comment #4 from Walt Brainerd <walt.brainerd at gmail dot com> ---
> > Sorry, I forgot to remove the extraneous USE statement
> > which cutting down from the original code.
> >
> > I am not good with this new stuff; please explain what
> > the syntax error is? If the PUBLIC statement is not correct,
> > how do you make the write(formatted) interface public?
> >
> > Thanks for looking at this so quickly.
> >
> > --
> > You are receiving this mail because:
> > You are on the CC list for the bug.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

Reply via email to