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/53328] [OOP] Ambiguous check for type-bound GENERIC shall ignore PASSed arguments


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

--- Comment #4 from janus at gcc dot gnu.org 2012-06-22 21:05:55 UTC ---
Author: janus
Date: Fri Jun 22 21:05:51 2012
New Revision: 188902

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188902
Log:
2012-06-22  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/47710
    PR fortran/53328
    * interface.c (count_types_test, generic_correspondence,
    gfc_compare_interfaces): Ignore PASS arguments.
    (check_interface1, compare_parameter): Pass NULL arguments to
    gfc_compare_interfaces.
    * gfortran.h (gfc_compare_interfaces): Modified prototype.
    * expr.c (gfc_check_pointer_assign): Pass NULL arguments to
    gfc_compare_interfaces.
    * resolve.c (resolve_structure_cons): Ditto.
    (check_generic_tbp_ambiguity): Determine PASS arguments and pass them
    to gfc_compare_interfaces.


2012-06-22  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/47710
    PR fortran/53328
    * gfortran.dg/typebound_generic_12.f03: New.
    * gfortran.dg/typebound_generic_13.f03: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/typebound_generic_12.f03
    trunk/gcc/testsuite/gfortran.dg/typebound_generic_13.f03
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


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