summaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-29 15:21:13 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-29 15:21:13 +0000
commit5f458503731f4a23c7c674adebf7c4185e26579c (patch)
tree13c3108b931a9f5530ee972b04fc4361a6cff803 /gcc/targhooks.h
parent3686849050cfe9e28fee36c7785f70ee9d4e491c (diff)
downloadgcc-5f458503731f4a23c7c674adebf7c4185e26579c.tar.gz
2006-03-29 Paul Brook <paul@codesourcery.com>
PR middle-end/23623 * targhooks.c (default_narrow_bitfield): New fuction. * targhooks.h (default_narrow_bitfield): add prototype. * target.h (gcc_target): Add narrow_volatile_bitfield. * target-def.h (TARGET_NARROW_VOLATILE_BITFIELD): Define. * stor-layout.c (get_best_mode): Use targetm.narrow_volatile_bitfield. * doc/tm.texi: Document TARGET_NARROW_VOLATILE_BITFIELDS. * config/arm/arm.c (TARGET_NARROW_VOLATILE_BITFIELD): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112493 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 05d1addc327..7c99b081a50 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -54,6 +54,8 @@ extern bool default_decimal_float_supported_p (void);
extern const char * default_invalid_within_doloop (rtx);
+extern bool default_narrow_bitfield (void);
+
/* These are here, and not in hooks.[ch], because not all users of
hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */