2011-01-26 Tobias Burnus <burnus@net-b.de>
commit95fad61e8e4894d70ff4cb8110daad098a6bcdd1
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2011 10:12:47 +0000 (26 10:12 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jan 2011 10:12:47 +0000 (26 10:12 +0000)
tree722192447d3131faa8a3653d812ae2ca5689c8fe
parent49edb39c74b93a0122f83f8bff71a0c2d2654fa1
2011-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47339
        PR fortran/43062
        * match.c (gfc_match_namelist): Allow assumed-length characters.
        * resolve.c (resolve_fl_namelist): Adapt and add error messages.
        * symbol.c (check_conflict): Allow allocatables in NML for
        * F2003.
        * trans-io.c (nml_get_addr_expr,transfer_namelist_element):
        Changes due to that change.

2011-01-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47339
        PR fortran/43062
        * fortran.dg/namelist_69.f90: New test.
        * fortran.dg/namelist_70.f90: New test.
        * fortran.dg/namelist_assumed_char.f90: Modify dg-error, augment
        * test.
        * fortran.dg/namelist_3.f90: Adapt test.
        * fortran.dg/namelist_34.f90: Ditto.
        * fortran.dg/namelist_35.f90: Ditto.
        * fortran.dg/namelist_5.f90: Ditto.
        * fortran.dg/namelist_63.f90: Ditto.
        * gfortran.dg/alloc_comp_constraint_1.f90: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169282 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/fortran/trans-io.c
gcc/testsuite/gfortran.dg/alloc_comp_constraint_1.f90
gcc/testsuite/gfortran.dg/namelist_3.f90
gcc/testsuite/gfortran.dg/namelist_34.f90
gcc/testsuite/gfortran.dg/namelist_35.f90
gcc/testsuite/gfortran.dg/namelist_5.f90
gcc/testsuite/gfortran.dg/namelist_63.f90
gcc/testsuite/gfortran.dg/namelist_69.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_70.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_assumed_char.f90