This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31494] spurious error: PROCEDURE attribute conflicts with DIMENSION attribute



------- Comment #5 from pault at gcc dot gnu dot org  2007-06-25 18:28 -------
Subject: Bug 31494

Author: pault
Date: Mon Jun 25 18:27:59 2007
New Revision: 126000

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126000
Log:
2007-06-25  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/32464
        * resolve.c (check_host_association): Return if the old symbol
        is use associated.  Introduce retval to reduce the number of
        evaluations of the first-order return value.

        PR fortran/31494
        * match.c (gfc_match_call): If a host associated symbol is not
        a subroutine, build a new symtree/symbol in the current name
        space.


2007-06-25  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/32464
        * gfortran.dg/host_assoc_function_2.f90: New test.

        PR fortran/31494
        * gfortran.dg/host_assoc_call_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/host_assoc_call_1.f90
    trunk/gcc/testsuite/gfortran.dg/host_assoc_function_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/match.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]