For PR java/6005 and PR java/7611:
authorTom Tromey <tromey@redhat.com>
Thu, 22 Aug 2002 00:42:40 +0000 (00:42 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 22 Aug 2002 00:42:40 +0000 (00:42 +0000)
commit57ce46bb22f5d56069e3648022a1d43dc858a790
treeab953fd73d6634557761e02e3e308f4b315d6dc6
parent0d811e1a74221354e24d7d1d4f74df1c39c35994
For PR java/6005 and PR java/7611:

* fold-const.c (fold_truthop): Use can_use_bit_fields_p.
(fold): Likewise.
* langhooks.c (lhd_can_use_bit_fields_p): New function.
* langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
(LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
(LANG_HOOKS_INITIALIZER): Use it.
* langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
field.

From-SVN: r56498
gcc/ChangeLog
gcc/fold-const.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h