[patch, fortran, committed] fix PR 58749
Thomas Koenig
tkoenig@netcologne.de
Thu Jun 4 18:57:00 GMT 2015
Hello world,
the attached patch fixes the PR by adding a charlen to the
function expression of adjustl and adjustr. Committed
as obvious after regression-testing.
Regards
Thomas
2015-06-04 Thomas Koenig <tkoenig@netcologne.de>
PR fortran/58749
* iresolve.c (gfc_resolve_adjustl): If string has a charlen,
copy it to the function.
(gfc_resolve_adjustr): Likewise.
2015-06-04 Thomas Koenig <tkoenig@netcologne.de>
PR fortran/58749
* gfortran.dg/adjustl_1.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150604/03d0ea2a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adjustl_1.f90
Type: text/x-fortran
Size: 254 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150604/03d0ea2a/attachment-0001.bin>
More information about the Fortran
mailing list