------- Comment #4 from janus at gcc dot gnu dot org  2010-08-28 11:55 -------
It works though when explicitly specifying the size of z to allocate:

logical, allocatable :: z(:)
allocate ( z(3), source =  [ .true., .false., .true. ] )
print *, z
end


-- 


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

Reply via email to