This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56867] Missing temporary with string array assignment
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 07 Apr 2013 20:19:53 +0000
- Subject: [Bug fortran/56867] Missing temporary with string array assignment
- Auto-submitted: auto-generated
- References: <bug-56867-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56867
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-04-07 20:19:53 UTC ---
Oops, here it is:
program main
character(len=4) :: a
character(len=4) :: c(3)
c(1) = 'abcd'
c(2) = '1234'
c(3) = 'wxyz'
c(:)(1:2) = c(2)(2:3)
print '(A)',c
end program main