expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations is true.
commitac5dc795ad5d0d78956263ddbd525c4bc2a1f7a3
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 18 Mar 2008 17:11:30 +0000 (18 17:11 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Tue, 18 Mar 2008 17:11:30 +0000 (18 17:11 +0000)
treeaeac937fae1469b6f5bd28ff19ae12702dc8fc49
parentb80280f2c568097c1da9aacd9b540f74ad91cf22
expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations is true.

2008-03-18  Paolo Bonzini  <bonzini@gnu.org>

        * expr.c (store_expr): Assume lang_hooks.reduce_bit_field_operations
        is true.
        (expand_expr_real_1) <REDUCE_BIT_FIELD>: Don't look at ignore.
        (expand_expr_real_1): Assume lang_hooks.reduce_bit_field_operations
        is true.  Add "&& !ignore" condition to reduce_bit_field.  Modify
        target after ignore has been set, and move there also the commputation
        of subtarget and original_target.
        * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.
        (LANG_HOOKS_INITIALIZER): Remove it.
        * langhooks.h (struct lang_hooks): Remove reduce_bit_field_operations.

ada:
2008-03-18  Paolo Bonzini  <bonzini@gnu.org>

        * misc.c (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.

cp:
2008-03-18  Paolo Bonzini  <bonzini@gnu.org>

        * cp-lang.c (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): Delete.

From-SVN: r133316
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/misc.c
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/expr.c
gcc/langhooks-def.h
gcc/langhooks.h