https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64118
--- Comment #2 from Angelo Graziosi ---
In my original test case, if I move the definition of function f(x) before the
subroutine foo(), does not produce warnings. In other words:
real(dp) function f(x) result(y)
real(dp), intent(in) :: x
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: angelo.graziosi at alice dot it
Created attachment 34144
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34144&action=edit
Tar archive with source code
With the attached tests I get the following