OSDN Git Service

2008-04-16 Daniel Kraft <d@domob.eu>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2008 19:50:04 +0000 (19:50 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 May 2008 19:50:04 +0000 (19:50 +0000)
commitee7aee2ae23f8f27e5de1f552141df0693b24827
treec7e366c619e4465a3a807a4d48e072cb8c58d1aa
parent296a346908f26e4a2b0c9076d9d0d1b20e4de2ce
2008-04-16  Daniel Kraft  <d@domob.eu>

        PR fortran/27997
        * gfortran.h:  Added field "length_from_typespec" to gfc_charlength.
        * aray.c (gfc_match_array_constructor):  Added code to parse
        * typespec.
        (check_element_type, check_constructor_type, gfc_check_constructor_type):
        Extended to support explicit typespec on constructor.
        (gfc_resolve_character_array_constructor):  Pad strings correctly for
        explicit, constant character length.
        * trans-array.c:  New static global variable
        * "typespec_chararray_ctor"
        (gfc_trans_array_constructor):  New code to support explicit but dynamic
        character lengths.

2008-04-16  Daniel Kraft  <d@domob.eu>

        PR fortran/27997
        * gfortran.dg/array_constructor_type_1.f03:  New test
        * gfortran.dg/array_constructor_type_2.f03:  New test
        * gfortran.dg/array_constructor_type_3.f03:  New test
        * gfortran.dg/array_constructor_type_4.f03:  New test
        * gfortran.dg/array_constructor_type_5.f03:  New test
        * gfortran.dg/array_constructor_type_6.f03:  New test
        * gfortran.dg/array_constructor_type_7.f03:  New test
        * gfortran.dg/array_constructor_type_8.f03:  New test
        * gfortran.dg/array_constructor_type_9.f:  New test
        * gfortran.dg/array_constructor_type_10.f03:  New test
        * gfortran.dg/array_constructor_type_11.f03:  New test
        * gfortran.dg/array_constructor_type_12.f03:  New test
        * gfortran.dg/array_constructor_type_13.f90:  New test
        * gfortran.dg/array_constructor_type_14.f03:  New test
        * gfortran.dg/array_constructor_type_15.f03:  New test
        * gfortran.dg/array_constructor_type_16.f03:  New test
        * gfortran.dg/array_constructor_type_17.f03:  New test
        * gfortran.dg/array_constructor_type_18.f03:  New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135439 138bc75d-0d04-0410-961f-82ee72b054a4
23 files changed:
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/gfortran.h
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_constructor_type_1.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_10.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_11.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_12.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_13.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_14.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_15.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_16.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_17.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_18.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_2.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_3.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_4.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_5.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_6.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_7.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_8.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/array_constructor_type_9.f [new file with mode: 0644]