This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]