This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: A little help would be much appreciated..
- From: François-Xavier Coudert <fxcoudert at gmail dot com>
- To: Philippe Schaffnit <P dot Schaffnit at access dot rwth-aachen dot de>
- Cc: Erik Edelmann <erik dot edelmann at iki dot fi>, fortran at gcc dot gnu dot org
- Date: Thu, 16 Feb 2006 15:14:44 +0100
- Subject: Re: A little help would be much appreciated..
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iNW4J8Qpx3Nn2jWTXMORps0VF30b7HvrM8MyhxcjF5bHiALcva3eeDaU5WbukieFvPQBe05wKhEuFPrclrdArY9Qf/oWYT4ELzIbv8qsM1k8AAkedgLU8ZPr3+z2InmMMKZYxfRnLm0+7rkYedTlODY4/7iEC29CM2Ix3npQoCs=
- References: <43F46965.815B1B2B@access.rwth-aachen.de> <19c433eb0602160426o8dbb84tabca1481c77b645d@mail.gmail.com> <20060216123008.GA15065@acclab.helsinki.fi> <43F4854D.99C74FCD@access.rwth-aachen.de>
> 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