]> git.ipfire.org Git - thirdparty/gcc.git/commit
2010-08-04 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Aug 2010 11:51:32 +0000 (11:51 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Aug 2010 11:51:32 +0000 (11:51 +0000)
commit459a1bdc1386060a2ca9d65c7f03c401001d1ee7
tree9ee4d951e1aaa29f3f08cdd47228251f110c2d47
parent9f23c21f051f7d759cbfb796072d7fd78916965c
2010-08-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44857
        * resolve.c (resolve_structure_cons): Fix handling of
        initialization structcture constructors with character
        elements of the wrong length.
        * array.c (gfc_check_iter_variable): Add NULL check.
        (gfc_resolve_character_array_constructor): Also truncate
        character length.

2010-08-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/44857
        * gfortran.dg/derived_constructor_char_1.f90: New.
        * gfortran.dg/derived_constructor_char_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162863 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_constructor_char_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/derived_constructor_char_2.f90 [new file with mode: 0644]