The can_use_bit_fields_p lang hook is only used by gcj. It is used to
suppress certain bit field optimizations when generating .class files.
Since gcj no longer generates .class files (this is outsourced to
ecj), this hook is not needed. So, this patch removes the hook.
Bootstrapped & tested on x86 FC5.
Ok?
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* fold-const.c (fold_truthop): Don't check can_use_bit_fields_p.
(fold_binary): Likewise.
* langhooks.c (lhd_can_use_bit_fields_p): Removed.
* langhooks-def.h (lhd_can_use_bit_fields_p): Removed.
(LANG_HOOKS_CAN_USE_BIT_FIELDS_P): Removed.
(LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_CAN_USE_BIT_FIELDS_P.
* langhooks.h (struct lang_hooks): Removed field
'can_use_bit_fields_p'.
Index: java/ChangeLog
from Tom Tromey <tromey@redhat.com>
* lang.c (java_can_use_bit_fields_p): Removed.
(LANG_HOOKS_CAN_USE_BIT_FIELDS_P): Removed.