re PR fortran/14976 (.space is wrong)
authorPaul Brook <paul@codesourcery.com>
Thu, 19 Aug 2004 16:45:21 +0000 (16:45 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Thu, 19 Aug 2004 16:45:21 +0000 (16:45 +0000)
commitec53454bff00bb25f035e7cd2b96f934af1530ff
treed3b469a74caf35dfd59435d9082d0b8d2be4d0be
parent7551270e1b6232a38f772eb9298ddbe0aa970918
re PR fortran/14976 (.space is wrong)

PR fortran/14976
PR fortran/16228
* data.c (assign_substring_data_value): Remove.
(create_character_intializer): New function.
(gfc_assign_data_value): Track the typespec for the current
subobject.  Use create_character_intializer.
testsuite/
* gfortran.dg/data_char_1.f90: New test.

From-SVN: r86256
gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/data_char_1.f90 [new file with mode: 0644]