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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #7 from kargl at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #6)
> > module m
> >    intrinsic abs
> >    abstract interface
> >       function abs(x)
> >          real :: abs, x
> >       end
> >    end interface
> > end
> 
> I cannot tell if this is legal or not.  How should the compiler
> behave?

Does Note 15.2 in F2018 apply?

   An interface body cannot be used to describe the interface of an
   internal procedure, a module procedure that is not a separate module
   procedure, or an intrinsic procedure because the interfaces of such
   procedures are already explicit. However, the name of a procedure
   can appear in a PROCEDURE statement in an interface block (15.4.3.2).

Reply via email to