[PATCH] Kill reduce_bit_field_operations definitively
Richard Guenther
richard.guenther@gmail.com
Tue Mar 18 15:41:00 GMT 2008
On Tue, Mar 18, 2008 at 4:15 PM, Paolo Bonzini <bonzini@gnu.org> wrote:
> Now that all languages set it to true, we can eliminate it. In the
> process I simplified some code in expr.c.
>
> Bootstrapped/regtested i686-pc-linux-gnu, ok?
Ok.
Thanks,
Richard.
> Paolo
>
> 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.
More information about the Gcc-patches
mailing list