0007-Enable-Wtrampolines-by-default.patch 685 B

1234567891011121314151617181920212223242526
  1. From f1e92f5f3576779776c9f3d6aeef76e1569e719a Mon Sep 17 00:00:00 2001
  2. From: Ariadne Conill <ariadne@dereferenced.org>
  3. Date: Fri, 21 Aug 2020 06:48:24 +0000
  4. Subject: [PATCH] Enable -Wtrampolines by default.
  5. ---
  6. gcc/common.opt | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/gcc/common.opt b/gcc/common.opt
  9. index d15105a73f3..29f9504cb68 100644
  10. --- a/gcc/common.opt
  11. +++ b/gcc/common.opt
  12. @@ -775,7 +775,7 @@ Common Var(warn_system_headers) Warning
  13. Do not suppress warnings from system headers.
  14. Wtrampolines
  15. -Common Var(warn_trampolines) Warning
  16. +Common Var(warn_trampolines) Init(1) Warning
  17. Warn whenever a trampoline is generated.
  18. Wtype-limits
  19. --
  20. 2.35.1