This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28890] ICE on write
- From: "paul dot richard dot thomas at cea dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2006 13:11:57 -0000
- Subject: [Bug fortran/28890] ICE on write
- References: <bug-28890-13167@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-08-30 13:11 -------
(In reply to comment #2)
The standard is unambiguous: A string element must be written as charr(i:i).
character(*) :: charr
.....
print *, charr(i)
will always be interpreted as a call to an assumed character length function
charr, which is allowed if charr is a dummy function.
As to its being easy... *sigh* we'll see!
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28890