[Bug fortran/32707] mismatched character lengths in array
vivekrao4 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 19:05:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list