This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]