This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Kill reduce_bit_field_operations definitively
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Paolo Bonzini" <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Mar 2008 16:28:44 +0100
- Subject: Re: [PATCH] Kill reduce_bit_field_operations definitively
- References: <frombd$3ga$1@ger.gmane.org>
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.