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: A little help would be much appreciated..


> Here's something that exhibits this behaviour... If I may say so, I find
> it *really* weird: removing things which do not seem to be related to
> that seem to make it disappear though...

I reduced this testcase to somehing even smaller, and can confirm this
fails on i686-linux:

$ cat foo.f90
      MODULE MODULE_A
      REAL ( KIND = 4 ) :: a = 0
      END MODULE MODULE_A

      MODULE MODULE_B
      REAL ( KIND = 4 ) :: b = 0
      END MODULE MODULE_B

      USE MODULE_A
      USE MODULE_B
      a = 0
      END
$ gfortran -c foo.f90
 In file foo.f90:12

      END
        1
Error: Name '__convert_i4_r4' at (1) is an ambiguous reference to
'__convert_i4_r4' from module 'module_a'


I think this is platform independant, and can't be reduced any further
(although I said that in an earlier draft, and found before sending
the mail that i could remove a few more lines!).

FX


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