------- Comment #1 from janus at gcc dot gnu dot org  2010-08-28 11:34 -------
Confirmed. One does not even need allocatable components for this. The
following also fails:

logical, allocatable :: z(:)
allocate ( z, source = [ .true., .false., .true.]) ! <<< ICE(segfault)
print *, z
end


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-28 11:34:22
               date|                            |
            Summary|[OOP] ALLOCATE with SOURCE  |ALLOCATE with SOURCE gives
                   |gives an ICE (segfault)     |an ICE (segfault)


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

Reply via email to