https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91442

paul.luck...@rwth-aachen.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.luck...@rwth-aachen.de

--- Comment #2 from paul.luck...@rwth-aachen.de ---
Same is true for any other intrinsic data type. 

Test case for integer array:

program test
  implicit none
  integer, allocatable :: i(:)
  i = [1]
end program

Compilation and warning:
$ gfortran -Wall -g3 -fcheck=all -fuse-ld=bfd a.f90

    4 |   i = [1]
      | 
Warning: ‘i.offset’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
a.f90:4:0: Warning: ‘i.dim[0].lbound’ may be used uninitialized in this
function [-Wmaybe-uninitialized]

Reply via email to