This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18878] Erronous error message on vaild USE statement
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2004 21:01:39 -0000
- Subject: [Bug fortran/18878] Erronous error message on vaild USE statement
- References: <20041207205723.18878.sgk@troutmask.apl.washington.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2004-12-07 21:01 -------
Subject: Re: Erronous error message on vaild USE statement
On Tue, Dec 07, 2004 at 08:58:24PM -0000, sgk at troutmask dot apl dot washington dot edu wrote:
>
> ------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2004-12-07 20:58 -------
> Created an attachment (id=7702)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7702&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7702&action=view)
> Here a program that demonstrates the bug.
>
An, here's the error message.
troutmask:sgk[241] gfc -o ab ab.f90
In file ab.f90:7
use a, only : e => b, f => b
1
Error: Symbol 'b' referenced at (1) not found in module 'a'
In file ab.f90:16
real(f) y
1
Error: Variable 'f' at (1) cannot appear in an initialization expression
In file ab.f90:19
y = 1.e0_f
1
Error: Missing kind-parameter at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18878