CVF bug ?
From: B52B (B52B_at_pl.pl.pl)
Date: 09/27/04
- Next message: Gerry Thomas: "Re: Problem with double precision function"
- Previous message: Dave Thompson: "Re: F2k3 Environment Variable Support"
- Next in thread: jan van oosterwijk: "Re: CVF bug ?"
- Reply: jan van oosterwijk: "Re: CVF bug ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Sep 2004 08:35:13 +0200
Hi,
It seems that the latest version of CVF 6.6C3 doesn't
support correctly array slices. Since this compiler is still very
popular and not supported I decided to warn other users.
program test
implicit none
real, dimension(:), pointer :: a_ptr => null(), b_ptr=null()
allocate (a_ptr(1:10))
a_ptr = 1.0
b_ptr => a(::2)
print *, size(b_ptr) ! error CVF prints 10 instead of 5
end program test
Regards,
B52B
- Next message: Gerry Thomas: "Re: Problem with double precision function"
- Previous message: Dave Thompson: "Re: F2k3 Environment Variable Support"
- Next in thread: jan van oosterwijk: "Re: CVF bug ?"
- Reply: jan van oosterwijk: "Re: CVF bug ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|