This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Kill reduce_bit_field_operations definitively


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]