re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound...
authorJanus Weil <janus@gcc.gnu.org>
Sun, 7 Aug 2011 10:12:09 +0000 (12:12 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 7 Aug 2011 10:12:09 +0000 (12:12 +0200)
commit99fc1b90cda7c80de9a1b7fdb3261185604c7586
tree609c767e03ac951170167c3efe780f0cf1058588
parentf446d60e814fdafc3bd7b11b748f2faeb0012a5a
re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)

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'.

From-SVN: r177545
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/dependency.h
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c