[Bug fortran/34546] Incorrect array identified in out of bounds runtime error

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 2 05:07:00 GMT 2008



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



More information about the Gcc-bugs mailing list