[Bug fortran/47519] Deferred-length string wrong results with character intrinsic functions

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 30 22:18:00 GMT 2011


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



More information about the Gcc-bugs mailing list