This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33727] Segfault with ugly string array constructor
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Oct 2007 14:40:55 -0000
- Subject: [Bug fortran/33727] Segfault with ugly string array constructor
- References: <bug-33727-8513@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tobi at gcc dot gnu dot org 2007-10-10 14:40 -------
OTOH this works:
program array_char
implicit none
character (len=2) :: x
character (len=1) :: z
x = "a "
z = x(1:len(trim(x)))
end program array_char
So the problem is with array constructors.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33727