------- Comment #5 from fxcoudert at gcc dot gnu dot org  2009-03-29 07:44 
-------
Wrong runtime error message is still there:

$ cat a.f90 
  real :: u(1,1) = 1.0
  real :: v(1, 1) = 2.0
  write(*,*) u(1,:) * v(2,:)
  end
$ gfortran a.f90 -fbounds-check -w && ./a.out
At line 3 of file a.f90
Fortran runtime error: Array reference out of bounds for array 'u', upper bound
of dimension 1  exceeded (2 > 1)


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
      Known to fail|4.3.0                       |4.3.0 4.4.0 4.5.0
   Last reconfirmed|2007-12-21 10:10:48         |2009-03-29 07:44:10
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34546

Reply via email to