------- Comment #1 from dfranke at gcc dot gnu dot org 2007-12-21 10:10 ------- Confirmed.
Reduced testcase: $> cat pr34546.f90 program fred implicit none real :: JTEJ(0:100,0:6000,6) = 1.0 real :: pT(10000:20000, 6) = 2.0 write(*,*) JTEJ(0,1000,:) * pT(1000,:) end $> fortran-svn -g -Wall -fbounds-check pr34546.f90 && ./a.out At line 6 of file pr34546.f90 Fortran runtime error: Array reference out of bounds for array 'jtej', lower bound of dimension 1 exceeded(1000 < 10000) -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfranke at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC host triplet|x86_64-unknown-linux-gnu | Known to fail| |4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2007-12-21 10:10:48 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34546