------- Comment #1 from vivekrao4 at yahoo dot com  2007-07-09 19:05 -------
Gfortran also does not warn about the simpler code

program xtrim_array
! check if compiler catches character array constructor with elements of
different sizes
implicit none
character (len=4) :: xx(2)
xx = ["boy","girl"]
print*,"xx = '" // xx(1) // "' '" // xx(2) // "'" 
end program xtrim_array


-- 


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

Reply via email to