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/29837] INTERFACE overloading INTENT problem - valid code is rejected



------- Comment #6 from pault at gcc dot gnu dot org  2006-11-25 14:38 -------
Subject: Bug 29837

Author: pault
Date: Sat Nov 25 14:37:56 2006
New Revision: 119198

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

        PR fortran/20880
        * parse.c (parse_interface): Error if procedure name is that of
        encompassing scope.
        * resolve.c (resolve_fl_procedure): Error if procedure is
        ambiguous.

        PR fortran/29837
        * interface.c (compare_actual_formal): Add missing condition
        that 'where' be present for error that asserts that actual
        arguments be definable.

2006-11-25  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/20880
        * gfortran.dg/interface_3.f90: New test.

        PR fortran/29837
        * gfortran.dg/generic_8.f90: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/generic_8.f90
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/interface_3.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/interface.c
    branches/gcc-4_2-branch/gcc/fortran/parse.c
    branches/gcc-4_2-branch/gcc/fortran/resolve.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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