https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #2)
> The bug likely does not effect anyone that contributes code
> to GCC.
It does not affect me, but that is due my coding style (using public/private).
> Fortunately,
> there is a trivial work around, e.g., change the generic-name
> from 'sqrt' to 'root'.
Please don't do that. I already have my own generic root()...
However, why in the world does an intrinsic need to show up in the module
file in the first place? Consider:
module mod1
implicit none
real, parameter :: z = sqrt (0.0)
end module mod1
Is there a reason why the intrinsic should not be prevented from occurring
in the module file?