re PR fortran/66709 (ICE on formatted io with parameter array specifier fmt)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 26 Mar 2018 06:29:01 +0000 (06:29 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 26 Mar 2018 06:29:01 +0000 (06:29 +0000)
commita48718a2f61f10c0531daa0ef73531174144a14b
tree80bf0ab5272073582eb4ffe9567974e306878acf
parent497f7b3e293ef5311a440e950a976cb3d1ebd9d9
re PR fortran/66709 (ICE on formatted io with parameter array specifier fmt)

2018-03-26  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-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66709
* gfortran.dg/parameter_array_format.f90: New test.

From-SVN: r258850
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/parameter_array_format.f90 [new file with mode: 0644]