------- Comment #6 from domob at gcc dot gnu dot org  2010-08-15 19:46 -------
Subject: Bug 38936

Author: domob
Date: Sun Aug 15 19:46:21 2010
New Revision: 163268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163268
Log:
2010-08-15  Daniel Kraft  <d...@domob.eu>

        PR fortran/38936
        * gfortran.h (gfc_find_proc_namespace): New method.
        * expr.c (gfc_build_intrinsic_call): No need to build symtree messing
        around with namespace.
        * symbol.c (gfc_find_proc_namespace): New method.
        * trans-decl.c (gfc_build_qualified_array): Use it for correct
        value of nest.
        * primary.c (gfc_match_varspec): Handle associate-names as arrays.
        * parse.c (parse_associate): Removed assignment-generation here...
        * resolve.c (resolve_block_construct): ...and added it here.
        (resolve_variable): Handle names that are arrays but were not parsed
        as such because of association.
        (resolve_code): Fix BLOCK resolution.
        (resolve_symbol): Generate array-spec for associate-names.

2010-08-15  Daniel Kraft  <d...@domob.eu>

        PR fortran/38936
        * gfortran.dg/associate_1.f03: Enable test for array expressions.
        * gfortran.dg/associate_3.f03: Clarify comment.
        * gfortran.dg/associate_5.f03: New test.
        * gfortran.dg/associate_6.f03: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/associate_5.f03
    trunk/gcc/testsuite/gfortran.dg/associate_6.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/parse.c
    trunk/gcc/fortran/primary.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/associate_1.f03
    trunk/gcc/testsuite/gfortran.dg/associate_3.f03


-- 


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

Reply via email to