This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45440] ALLOCATE with SOURCE gives an ICE (segfault)
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2010 11:34:22 -0000
- Subject: [Bug fortran/45440] ALLOCATE with SOURCE gives an ICE (segfault)
- References: <bug-45440-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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