This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40149] variable length still 6 ???
- From: "bdavis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2009 17:17:29 -0000
- Subject: [Bug fortran/40149] variable length still 6 ???
- References: <bug-40149-17717@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bdavis at gcc dot gnu dot org 2009-06-12 17:17 -------
i created a compilable example from the code snippet given:
INTEGER PBLJARRAYPT(341,341,1)
INTEGER NCSP0,IARRAY2,I
NCSP0 = 1
IARRAY2 = 0
DO I = 2, 341
IARRAY2 = IARRAY2 + 1
PBLJARRAYPT(I,I,NCSP0) = IARRAY2
END DO
PRINT*,'PBLJARRAYPT(2,2,1) = ',PBLJARRAYPT(2,2,1)
PRINT*,'PBLJARRAYPT(3,3,1) = ',PBLJARRAYPT(3,3,1)
PRINT*,'PBLJARRAYPT(341,341,1) = ',PBLJARRAYPT(341,341,1)
END
When ran, it gives
PBLJARRAYPT(2,2,1) = 1
PBLJARRAYPT(3,3,1) = 2
PBLJARRAYPT(341,341,1) = 340
which looks fine to me.
Unless more info is forthcoming on reproducing this bug, I think we should
close it with no further action taken.
It's only been open a month, doesn't hurt to let it sit for another :)
--bud
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40149