http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54199
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> 2012-08-08
19:55:21 UTC ---
(In reply to comment #0)
> Compiling the following program with -Wall gives the message:
>
> function fraction(x)
> 1
> Warning: 'fraction' declared at (1) is also the name of an intrinsic. It can
> only be called via an explicit interface or if declared EXTERNAL.
>
> I believe this message should not be printed for internal procedures.
Maybe the second part is confusing, but a warning makes sense IMO.
>
> (For module procedures, there is a different warning, which can stay:
> "'fraction' declared at (1) may shadow the intrinsic of the same name. In
> order to call the intrinsic, explicit INTRINSIC declarations may be
> required.")
That one would be fine for internal procedures, don't you think?