re PR fortran/78798 ([cleanup] some int-valued functions should be bool)
2016-12-15 Janus Weil <janus@gcc.gnu.org> PR fortran/78798 * gfortran.h (gfc_compare_derived_types,gfc_compare_types, gfc_compare_interfaces,gfc_has_vector_subscript): Return bool instead of int. * interface.c (compare_components): Ditto. (gfc_compare_union_types): Rename to compare_union_types, declare as static, return bool. (gfc_compare_derived_types): Return bool instead of int. (gfc_compare_types): Ditto. (compare_type): Ditto. (compare_rank): Ditto. (compare_type_rank): Ditto. (compare_type_rank_if): Ditto. (count_types_test): Ditto. (generic_correspondence): Ditto. (gfc_compare_interfaces): Ditto. (check_interface0): Ditto. (check_interface1): Ditto. (compare_allocatable): Ditto. (compare_parameter): Ditto. (gfc_has_vector_subscript): Ditto. (compare_actual_formal): Ditto. From-SVN: r243726
This commit is contained in:
parent
155c990701
commit
f3e1097bc6
@ -1,3 +1,28 @@
|
||||
2016-12-15 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/78798
|
||||
* gfortran.h (gfc_compare_derived_types,gfc_compare_types,
|
||||
gfc_compare_interfaces,gfc_has_vector_subscript): Return bool instead
|
||||
of int.
|
||||
* interface.c (compare_components): Ditto.
|
||||
(gfc_compare_union_types): Rename to compare_union_types, declare as
|
||||
static, return bool.
|
||||
(gfc_compare_derived_types): Return bool instead of int.
|
||||
(gfc_compare_types): Ditto.
|
||||
(compare_type): Ditto.
|
||||
(compare_rank): Ditto.
|
||||
(compare_type_rank): Ditto.
|
||||
(compare_type_rank_if): Ditto.
|
||||
(count_types_test): Ditto.
|
||||
(generic_correspondence): Ditto.
|
||||
(gfc_compare_interfaces): Ditto.
|
||||
(check_interface0): Ditto.
|
||||
(check_interface1): Ditto.
|
||||
(compare_allocatable): Ditto.
|
||||
(compare_parameter): Ditto.
|
||||
(gfc_has_vector_subscript): Ditto.
|
||||
(compare_actual_formal): Ditto.
|
||||
|
||||
2016-12-15 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/78800
|
||||
|
@ -3225,14 +3225,14 @@ bool gfc_ref_dimen_size (gfc_array_ref *, int dimen, mpz_t *, mpz_t *);
|
||||
|
||||
/* interface.c -- FIXME: some of these should be in symbol.c */
|
||||
void gfc_free_interface (gfc_interface *);
|
||||
int gfc_compare_derived_types (gfc_symbol *, gfc_symbol *);
|
||||
int gfc_compare_types (gfc_typespec *, gfc_typespec *);
|
||||
bool gfc_compare_derived_types (gfc_symbol *, gfc_symbol *);
|
||||
bool gfc_compare_types (gfc_typespec *, gfc_typespec *);
|
||||
bool gfc_check_dummy_characteristics (gfc_symbol *, gfc_symbol *,
|
||||
bool, char *, int);
|
||||
bool gfc_check_result_characteristics (gfc_symbol *, gfc_symbol *,
|
||||
char *, int);
|
||||
int gfc_compare_interfaces (gfc_symbol*, gfc_symbol*, const char *, int, int,
|
||||
char *, int, const char *, const char *);
|
||||
bool gfc_compare_interfaces (gfc_symbol*, gfc_symbol*, const char *, int, int,
|
||||
char *, int, const char *, const char *);
|
||||
void gfc_check_interfaces (gfc_namespace *);
|
||||
bool gfc_procedure_use (gfc_symbol *, gfc_actual_arglist **, locus *);
|
||||
void gfc_ppc_use (gfc_component *, gfc_actual_arglist **, locus *);
|
||||
@ -3248,7 +3248,7 @@ void gfc_set_current_interface_head (gfc_interface *);
|
||||
gfc_symtree* gfc_find_sym_in_symtree (gfc_symbol*);
|
||||
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*);
|
||||
bool gfc_has_vector_subscript (gfc_expr*);
|
||||
gfc_intrinsic_op gfc_equivalent_op (gfc_intrinsic_op);
|
||||
bool gfc_check_typebound_override (gfc_symtree*, gfc_symtree*);
|
||||
void gfc_check_dtio_interfaces (gfc_symbol*);
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user