This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32875] Not Implemented: complex character array constructor
- 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: 14 Aug 2007 09:04:21 -0000
- Subject: [Bug fortran/32875] Not Implemented: complex character array constructor
- References: <bug-32875-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-08-14 09:04 -------
write(6,*) (/(s1(),i=1,3,-1)/)
!write(6,*) shape((/(s1(),i=1,3,-1)/))
contains
function s1()
character(len=1) :: s1
s1=" "
end function s1
end
Further reduced: no need for the substring in s1. You can also get an ICE by
replacing the first WRITE statement with one using SHAPE.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2007-07-24 10:09:58 |2007-08-14 09:04:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32875