[patch, fortran] Fix character parameter arrays as formats

Thomas Koenig tkoenig@netcologne.de
Sun Mar 25 16:11:00 GMT 2018


Hello world,

the attached pach fixes the PR by creating one single big string
from a parameter array.

OK for trunk?

Regards

	Thomas

2018-03-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/66709
         * io.c: Include constructor.h.
         (resolve_tag_format): For a constant character array, concatenate
         into a single character expression.

2018-03-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/66709
         * gfortran.dg/parameter_array_format.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1872 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180325/6b4e1036/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parameter_array_format.f90
Type: text/x-fortran
Size: 520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180325/6b4e1036/attachment-0001.bin>


More information about the Fortran mailing list