diff options
author | Andreas Jaeger <aj@gcc.gnu.org> | 2003-09-02 10:56:05 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-09-02 10:56:05 +0200 |
commit | 27f35b75fe1aeeb4c2fb455387ae1dc4faa36d98 (patch) | |
tree | 1983dece615636dd04167652d87842ee6804eeae | |
parent | 441c9a1224bc3719a8d094d83555a2e21e3811a5 (diff) | |
download | gcc-27f35b75fe1aeeb4c2fb455387ae1dc4faa36d98.zip gcc-27f35b75fe1aeeb4c2fb455387ae1dc4faa36d98.tar.gz gcc-27f35b75fe1aeeb4c2fb455387ae1dc4faa36d98.tar.bz2 |
* langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly.
From-SVN: r70993
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/langhooks-def.h | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3de132d..54d747f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-02 Andreas Jaeger <aj@suse.de> + + * langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly. + 2003-09-02 Josef Zlomek <zlomekj@suse.cz> * cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of @@ -1999,7 +2003,7 @@ Wed Aug 20 12:08:55 CEST 2003 Jan Hubicka <jh@suse.cz> (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 ee30749..f5a83cc 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. */ |