This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45440] ALLOCATE with SOURCE gives an ICE (segfault)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]