[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug fortran/29992] [4.2 and 4.1 only] INTERFACE equivalent to MODULE PROCEDURE?!
From:       "pault at gcc dot gnu dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2006-12-31 15:00:52
Message-ID: 20061231150052.21876.qmail () sourceware ! org
[Download RAW message or body]



------- Comment #7 from pault at gcc dot gnu dot org  2006-12-31 15:00 -------
Subject: Bug 29992

Author: pault
Date: Sun Dec 31 15:00:18 2006
New Revision: 120298

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

        BACKPORTS from 4.3

        PR fortran/30202
        * trans-array.c (gfc_conv_function_call): Use parmse.expr for
        the nullifying of intent(out) arguments rather than the backend
        declaration.

        PR fortran/30190
        * trans-array.c (gfc_conv_array_ref): Remove gfc_evaluate_now
        from the -fbounds-check branch.

        PR fortran/29992
        * interface.c (check_sym_interfaces): Module procedures in a
        generic must be use associated or contained in the module.
        * decl.c (gfc_match_modproc): Set attribute mod_proc.
        * gfortran.h (symbol_attribute): Add mod_proc atribute.

        PR fortran/30081
        * resolve.c (resolve_generic_f, resolve_generic_s): Use
        gfc_intrinsic_name to find out if the function is intrinsic
        because it does not have to be a generic intrinsic to be
        overloaded.

        PR fortran/30236
        * interface.c (compare_interfaces): Handle NULL symbols.
        (count_types_test): Count NULL symbols, which correspond to
        alternate returns.

        (check_interface1): Change final argument from int to bool
        in the function and all references.

2006-12-31  Paul Thomas <pault@gcc.gnu.org>

        BACKPORTS from 4.3

        PR fortran/30202
        * gfortran.dg/alloc_comp_basics_3.f90: New test.

        PR fortran/30190
        * gfortran.dg/bounds_check_5.f90: New test.

        PR fortran/29992
        * gfortran.dg/generic_9.f90: New test.

        PR fortran/30081
        * gfortran.dg/generic_10.f90: New test.

        PR fortran/30236
        * gfortran.dg/altreturn_3.f90: New test.

        * gfortran.dg/char_result_12.f90: Fix comment typos.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/alloc_comp_basics_3.f90
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/bounds_check_5.f90
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/generic_10.f90
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/generic_9.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/decl.c
    branches/gcc-4_2-branch/gcc/fortran/gfortran.h
    branches/gcc-4_2-branch/gcc/fortran/interface.c
    branches/gcc-4_2-branch/gcc/fortran/resolve.c
    branches/gcc-4_2-branch/gcc/fortran/trans-array.c
    branches/gcc-4_2-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic