targhooks.c (default_narrow_bitfield): Remove.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 28 May 2007 21:27:29 +0000 (21:27 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 28 May 2007 21:27:29 +0000 (21:27 +0000)
* targhooks.c (default_narrow_bitfield): Remove.
* targhooks.h: Remove the prototype for
default_narrow_bitfield.

From-SVN: r125144

gcc/ChangeLog
gcc/targhooks.c
gcc/targhooks.h

index 0b3424925b94ce614e2f9496436c6898500149e0..90d9e40bcc3cb16cdf467ba5ca4dc538f971b550 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-28  Kazu Hirata  <kazu@codesourcery.com>
+
+       * targhooks.c (default_narrow_bitfield): Remove.
+       * targhooks.h: Remove the prototype for
+       default_narrow_bitfield.
+
 2007-05-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        PR tree-opt/32100
index 77f624c29908f7da1a4d48368ea37649c472e34a..1f0aa0be33704d4d856d9bbe948616e142add83d 100644 (file)
@@ -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,
index 1b9bb10ed65e1396077ae98a5d9959c8bf18d761..97f3eb0ae989c71f3cad3b8cba577d32dfb65bc5 100644 (file)
@@ -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);