[PATCH] Flip LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS default

Paolo Bonzini bonzini@gnu.org
Fri Mar 7 21:31:00 GMT 2008


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



More information about the Gcc-patches mailing list