[Bug fortran/37494] function of a module not recognized by a subroutine in the same module
Jean-Charles dot Gilbert at inria dot fr
gcc-bugzilla@gcc.gnu.org
Fri Sep 12 15:28:00 GMT 2008
------- Comment #3 from Jean-Charles dot Gilbert at inria dot fr 2008-09-12 15:26 -------
(In reply to comment #1)
> Removing the
>
> double precision :: fonc
>
> from sub makes the program compile as expected (as I guess). I'm not sure if
> that's a bug or a problem with the original code, but I could imagine that this
> declaration makes gfortran link to an external fonc without the module
> interface.
>
You are right. That was the problem. The shame on me not to have found it ! I
should have posted this on a discussion forum instead of on bugzilla. Thanks
again for your help.
--
Jean-Charles dot Gilbert at inria dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Jean-Charles dot Gilbert at
| |inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37494
More information about the Gcc-bugs
mailing list