summaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-28 21:27:29 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-28 21:27:29 +0000
commit87772ee1b209ca6b7dbf2ab725f0d43d3dc39a07 (patch)
tree73e2d92e9ed9e8ff1d0e2441abc7bda53c3862b4 /gcc/targhooks.c
parent8f6c3863f8bc9c1e61f52ba7f66476d828fd999d (diff)
downloadgcc-87772ee1b209ca6b7dbf2ab725f0d43d3dc39a07.tar.gz
* targhooks.c (default_narrow_bitfield): Remove.
* targhooks.h: Remove the prototype for default_narrow_bitfield. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125144 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c14
1 files changed, 0 insertions, 14 deletions
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,