diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b3424925b9..90d9e40bcc3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-05-28 Kazu Hirata + + * targhooks.c (default_narrow_bitfield): Remove. + * targhooks.h: Remove the prototype for + default_narrow_bitfield. + 2007-05-28 Andrew Pinski PR tree-opt/32100 diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 77f624c2990..1f0aa0be337 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -600,20 +600,6 @@ default_secondary_reload (bool in_p ATTRIBUTE_UNUSED, rtx x ATTRIBUTE_UNUSED, return class; } - -/* If STRICT_ALIGNMENT is true we use the container type for accessing - volatile bitfields. This is generally the preferred behavior for memory - mapped peripherals on RISC architectures. - If STRICT_ALIGNMENT is false we use the narrowest type possible. This - is typically used to avoid spurious page faults and extra memory accesses - due to unaligned accesses on CISC architectures. */ - -bool -default_narrow_bitfield (void) -{ - return !STRICT_ALIGNMENT; -} - bool default_handle_c_option (size_t code ATTRIBUTE_UNUSED, const char *arg ATTRIBUTE_UNUSED, diff --git a/gcc/targhooks.h b/gcc/targhooks.h index 1b9bb10ed65..97f3eb0ae98 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -55,8 +55,6 @@ extern bool default_decimal_float_supported_p (void); extern const char * default_invalid_within_doloop (rtx); -extern bool default_narrow_bitfield (void); - extern tree default_builtin_vectorized_function (enum built_in_function, tree, tree); extern tree default_builtin_vectorized_conversion (enum tree_code, tree);