]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/ChangeLog
re PR fortran/48890 ([F95] Wrong length of a character component of named constant...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 20 Feb 2018 18:57:34 +0000 (18:57 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 20 Feb 2018 18:57:34 +0000 (18:57 +0000)
commit04946c6b905572f35f06de34460d20f05203a033
tree7520b2aad9e38ebed2f705c5a4633c769ef8849e
parent5a54a15e30542c3cad550e08f3fd6cfcd4969e30
re PR fortran/48890 ([F95] Wrong length of a character component of named constant derived-type)

2018-02-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48890
PR fortran/83823
* primary.c (gfc_convert_to_structure_constructor):
For a constant string constructor, make sure the length
is correct.

2018-02-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/48890
PR fortran/83823
* gfortran.dg/structure_constructor_14.f90: New test.

From-SVN: r257856
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/structure_constructor_14.f90 [new file with mode: 0644]
This page took 0.065995 seconds and 5 git commands to generate.