------- Comment #5 from pault at gcc dot gnu dot org  2006-06-01 05:56 -------
Subject: Bug 25098

Author: pault
Date: Thu Jun  1 05:56:48 2006
New Revision: 114299

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114299
Log:
2006-06-01  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/25098
        PR fortran/25147
        * interface.c (compare_parameter): Return 1 if the actual arg
        is external and the formal is a procedure.
        (compare_actual_formal): If the actual argument is a variable
        and the formal a procedure, this an error.  If a gsymbol exists
        for a procedure of the same name, this is not yet resolved and
        the error is cleared.

        * trans-intrinsic.c (gfc_conv_associated): Make provision for
        zero array length or zero string length contingent on presence
        of target, for consistency with standard.

2006-06-01  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/25098
        * gfortran.dg/dummy_procedure_1.f90: New test.

        PR fortran/25147
        * gfortran.dg/dummy_procedure_2.f90: New test.

        * gfortran.dg/associated_2.f90: Correct to make consistent with
        standard.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/dummy_procedure_1.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/dummy_procedure_2.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/interface.c
    branches/gcc-4_1-branch/gcc/fortran/trans-intrinsic.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/associated_2.f90


-- 


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

Reply via email to