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/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.


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

--- Comment #16 from janus at gcc dot gnu.org 2011-08-07 10:12:14 UTC ---
Author: janus
Date: Sun Aug  7 10:12:09 2011
New Revision: 177545

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

    PR fortran/49638
    * dependency.h (gfc_is_same_range,gfc_are_identical_variables): Remove
    two prototypes.
    * dependency.c (gfc_are_identical_variables,are_identical_variables):
    Renamed the former to the latter and made static.
    (gfc_dep_compare_expr): Renamed 'gfc_are_identical_variables', handle
    commutativity of multiplication.
    (gfc_is_same_range,is_same_range): Renamed the former to the latter,
    made static and removed argument 'def'.
    (check_section_vs_section): Renamed 'gfc_is_same_range'.
    * gfortran.h (gfc_check_typebound_override): New prototype.
    * interface.c (gfc_check_typebound_override): Moved here from ...
    * resolve.c (check_typebound_override): ... here (and renamed).
    (resolve_typebound_procedure): Renamed 'check_typebound_override'.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dependency.c
    trunk/gcc/fortran/dependency.h
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/interface.c
    trunk/gcc/fortran/resolve.c


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