This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Flip LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS default
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 07 Mar 2008 22:30:43 +0100
- Subject: [PATCH] Flip LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS default
As agreed during the 4.3 release cycle. I think Richi approved it on
IRC (he said to do this instead of removing the langhook immediately) ,
but anyway I won't apply it until Monday so people have the chance to
scream.
C, C++, ObjC, Ada already default to true. ObjC++ should, but doesn't.
The other languages probably don't care.
Bootstrapped/regtested i686-pc-linux-gnu, all languages except Ada for
which there's no change anyway; no failure.
Paolo
Index: langhooks-def.h
===================================================================
--- langhooks-def.h (revision 133002)
+++ langhooks-def.h (working copy)
@@ -98,7 +98,7 @@ extern void lhd_omp_firstprivatize_type_
#define LANG_HOOKS_STATICP lhd_staticp
#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL lhd_do_nothing_t
#define LANG_HOOKS_SET_DECL_ASSEMBLER_NAME lhd_set_decl_assembler_name
-#define LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS false
+#define LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS true
#define LANG_HOOKS_NO_BODY_BLOCKS false
#define LANG_HOOKS_PRINT_STATISTICS lhd_do_nothing
#define LANG_HOOKS_PRINT_XNODE lhd_print_tree_nothing