diff options
author | Janus Weil <janus@gcc.gnu.org> | 2011-08-07 12:12:09 +0200 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2011-08-07 12:12:09 +0200 |
commit | 99fc1b90cda7c80de9a1b7fdb3261185604c7586 (patch) | |
tree | 609c767e03ac951170167c3efe780f0cf1058588 /gcc/fortran/gfortran.h | |
parent | f446d60e814fdafc3bd7b11b748f2faeb0012a5a (diff) | |
download | gcc-99fc1b90cda7c80de9a1b7fdb3261185604c7586.zip gcc-99fc1b90cda7c80de9a1b7fdb3261185604c7586.tar.gz gcc-99fc1b90cda7c80de9a1b7fdb3261185604c7586.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r-- | gcc/fortran/gfortran.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index 34afae4..b4a4f85 100644 --- a/gcc/fortran/gfortran.h +++ b/gcc/fortran/gfortran.h @@ -2840,6 +2840,7 @@ bool gfc_arglist_matches_symbol (gfc_actual_arglist**, gfc_symbol*); bool gfc_check_operator_interface (gfc_symbol*, gfc_intrinsic_op, locus); int gfc_has_vector_subscript (gfc_expr*); gfc_intrinsic_op gfc_equivalent_op (gfc_intrinsic_op); +gfc_try gfc_check_typebound_override (gfc_symtree*, gfc_symtree*); /* io.c */ extern gfc_st_label format_asterisk; |