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/40869] [F03] PPC assignment checking



------- Comment #1 from janus at gcc dot gnu dot org  2009-08-27 19:49 -------
Subject: Bug 40869

Author: janus
Date: Thu Aug 27 19:48:46 2009
New Revision: 151147

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151147
Log:
2009-08-27  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/40869
        * expr.c (gfc_check_pointer_assign): Enable interface check for
        pointer assignments involving procedure pointer components.
        * gfortran.h (gfc_compare_interfaces): Modified prototype.
        * interface.c (gfc_compare_interfaces): Add argument 'name2', to be
        used instead of s2->name. Don't rely on the proc_pointer attribute,
        but instead on the flags handed to this function.
        (check_interface1,compare_parameter): Add argument for
        gfc_compare_interfaces.
        * resolve.c (check_generic_tbp_ambiguity): Ditto.

2009-08-27  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/40869
        * gfortran.dg/proc_ptr_comp_20.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_20.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/interface.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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