------- 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

Reply via email to