This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34546] Incorrect array identified in out of bounds runtime error
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2008 05:06:50 -0000
- Subject: [Bug fortran/34546] Incorrect array identified in out of bounds runtime error
- References: <bug-34546-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-07-02 05:06 -------
Currently 4.4 is giving:
$ gfc bounds.f90
bounds.f90:6.31:
write(*,*) JTEJ(0,1000,:) * pT(1000,:)
1
Warning: Array reference at (1) is out of bounds (1000 < 10000) in dimension 1
I am not sure which patch did this, but I doubt it will be backported to 4.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34546