patch-gcc_c-family_c_opt 1.1 KB

123456789101112131415161718192021222324252627282930
  1. $OpenBSD: patch-gcc_c-family_c_opt,v 1.1.1.1 2014/06/26 16:30:16 pascal Exp $
  2. --- gcc/c-family/c.opt.orig Sat Jan 25 00:13:49 2014
  3. +++ gcc/c-family/c.opt Fri Feb 14 20:24:53 2014
  4. @@ -633,13 +633,9 @@ C ObjC C++ ObjC++ Var(warn_pointer_arith) Warning Lang
  5. Warn about function pointer arithmetic
  6. Wpointer-sign
  7. -C ObjC Var(warn_pointer_sign) Warning LangEnabledBy(C ObjC,Wall)
  8. +C ObjC Var(warn_pointer_sign) Warning LangEnabledBy(C ObjC,Wpedantic)
  9. Warn when a pointer differs in signedness in an assignment
  10. -Wpointer-sign
  11. -C ObjC LangEnabledBy(C ObjC,Wpedantic)
  12. -;
  13. -
  14. Wpointer-to-int-cast
  15. C ObjC Var(warn_pointer_to_int_cast) Init(1) Warning
  16. Warn when a pointer is cast to an integer of a different size
  17. @@ -1195,6 +1191,10 @@ C++ ObjC++ Ignore Warn(switch %qs is no longer support
  18. fthreadsafe-statics
  19. C++ ObjC++ Optimization Var(flag_threadsafe_statics) Init(1)
  20. -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
  21. +
  22. +ftrampolines
  23. +Common Var(flag_trampolines)
  24. +Allows trampolines
  25. funsigned-bitfields
  26. C ObjC C++ ObjC++ Var(flag_signed_bitfields, 0)