This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47519] Deferred-length string wrong results with character intrinsic functions
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 21:22:37 +0000
- Subject: [Bug fortran/47519] Deferred-length string wrong results with character intrinsic functions
- Auto-submitted: auto-generated
- References: <bug-47519-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47519
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> 2011-01-30 21:22:21 UTC ---
Created attachment 23170
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23170
Patch for the PR
This is regtesting as I right but I am sure that it is good.
Note the mod to dump-parse-file.c to allow for SOURCE/MOLD in ALLOCATE.
The trick was to generate a character length during resolution, in REPEAT.
Will submit tomorrow.
Paul