This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rfc: multiple decls for functions


On Friday 19 December 2008 23:07:40 you wrote:
> I think this issue has already been discussed in the past although
> I don't know how to find the thread. I think there was a bug in gfortran
> that has been fixed.

The test was done with r142828, that's from last night.

Try reversing the order of F and G in the module, G first, and get:

$> gfortran-svn -g -Wall call4.f90
/tmp/ccI92EPs.o: In function `MAIN__':
/home/daniel/pr/call4.f90:15: undefined reference to `__m_MOD_g'
/home/daniel/pr/call4.f90:17: undefined reference to `__m_MOD_g'
collect2: ld returned 1 exit status



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]