aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-03-29 15:21:13 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2006-03-29 15:21:13 +0000
commitc2a644391b7e8d4603d95e97daabd1b368052421 (patch)
tree13c3108b931a9f5530ee972b04fc4361a6cff803 /gcc/targhooks.h
parent4dc19cc052742f88e118458c6036468d0a9bf7a6 (diff)
downloadgcc-c2a644391b7e8d4603d95e97daabd1b368052421.zip
gcc-c2a644391b7e8d4603d95e97daabd1b368052421.tar.gz
gcc-c2a644391b7e8d4603d95e97daabd1b368052421.tar.bz2
re PR middle-end/23623 (volatile keyword changes bitfield access size from 32bit to 8bit)
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. From-SVN: r112493
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 05d1add..7c99b08 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. */