This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27895] problem with SPREAD and zero-sized arrays
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 09:09:10 -0000
- Subject: [Bug fortran/27895] problem with SPREAD and zero-sized arrays
- References: <bug-27895-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2006-06-05 09:09 -------
A minimal testcase exhibiting both problems (warning and segfault) is:
real :: tempn(1)
tempn = 2.0
print *, spread(tempn(2:1),dim=1,ncopies=1)
end
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.2.0 4.1.2
Last reconfirmed|0000-00-00 00:00:00 |2006-06-05 09:09:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27895