[Bug fortran/47339] Fortran 2003/2008: Valid NAMELIST rejected; Fortran 95: Invalid namelist objects accepted

dnovillo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 2 17:57:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47339

--- Comment #7 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:52:20 UTC ---
Author: dnovillo
Date: Wed Feb  2 17:52:14 2011
New Revision: 169614

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169614
Log:
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.

Added:
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_69.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_70.f90
Modified:
    branches/google/integration/gcc/fortran/match.c
    branches/google/integration/gcc/fortran/resolve.c
    branches/google/integration/gcc/fortran/symbol.c
    branches/google/integration/gcc/fortran/trans-io.c
   
branches/google/integration/gcc/testsuite/gfortran.dg/alloc_comp_constraint_1.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_3.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_34.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_35.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_5.f90
    branches/google/integration/gcc/testsuite/gfortran.dg/namelist_63.f90
   
branches/google/integration/gcc/testsuite/gfortran.dg/namelist_assumed_char.f90



More information about the Gcc-bugs mailing list