From 27f35b75fe1aeeb4c2fb455387ae1dc4faa36d98 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 2 Sep 2003 10:56:05 +0200 Subject: [PATCH] * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly. From-SVN: r70993 --- gcc/ChangeLog | 8 ++++++-- gcc/langhooks-def.h | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3de132da61d..54d747f8f3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-02 Andreas Jaeger + + * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly. + 2003-09-02 Josef Zlomek * cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of @@ -1999,7 +2003,7 @@ Wed Aug 20 12:08:55 CEST 2003 Jan Hubicka (get_identifier_with_length): Change type of second argument to size_t in function definition. * hashtable.c (calc_hash): Change type of second argument to size_t. - (ht_lookup): Change type of third argument to size_t. Reorganize + (ht_lookup): Change type of third argument to size_t. Reorganize to speed-up the cases where the hash table slot is empty, or the first probe matches (i.e. there isn't a collision). * hashtable.h (ht_lookup): Adjust function prototype. @@ -4082,7 +4086,7 @@ objc: * config/mmix/mmix-protos.h: Convert prototypes to ISO C90. * config/mmix/mmix.c: Convert functions to ISO C90. - (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak + (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak formatting. (mmix_get_hard_reg_initial_val): Tweak section head comment. diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h index ee30749f536..f5a83ccf9e5 100644 --- a/gcc/langhooks-def.h +++ b/gcc/langhooks-def.h @@ -124,7 +124,7 @@ extern void lhd_initialize_diagnostics (struct diagnostic_context *); #define LANG_HOOKS_FUNCTION_LEAVE_NESTED lhd_do_nothing_f #define LANG_HOOKS_RTL_EXPAND_START lhd_do_nothing -#define LANG_HOOKS_RTL_EXPAND_STMT (void *) abort +#define LANG_HOOKS_RTL_EXPAND_STMT (void (*) (tree)) abort #define LANG_HOOKS_RTL_EXPAND_END lhd_do_nothing /* Attribute hooks. */