On Tue, Apr 17, 2007 at 08:07:38PM -0400, Kamaraju Kusumanchi wrote:
> As you can see, gdb is printing 4 for a(3) where as it should be
> printing 4 for a(8)
Thanks, I can reproduce this. I thought this was fixed in the GDB CVS
repository, but it doesn't seem to be the case :-(
--
Daniel Jacob
Package: gdb
Version: 6.6.dfsg-1
Severity: normal
Consider the following Fortran 90 program
$ cat array.f90
program array
implicit none
real :: a(5:8)
a(5) = 1.0
a(6) = 2.0
a(7) = 3.0
a(8) = 4.0
write(*,*) a
end program array
All this program does is to initialize an array of 4 e
2 matches
Mail list logo