pmaports/cross/gcc-armv7/0007-Enable-Wtrampolines-by-default.patch

26 lines
685 B
Diff
Raw Normal View History

2020-12-03 23:13:25 +00:00
From 25eb9009f180c799647cfc81d27d8b67ba3f3b72 Mon Sep 17 00:00:00 2001
2020-08-21 10:18:02 +00:00
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
2020-12-03 23:13:25 +00:00
Subject: [PATCH] Enable -Wtrampolines by default.
2020-08-21 10:18:02 +00:00
---
gcc/common.opt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
2020-08-21 10:18:02 +00:00
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
Do not suppress warnings from system headers.
Wtrampolines
-Common Var(warn_trampolines) Warning
+Common Var(warn_trampolines) Init(1) Warning
Warn whenever a trampoline is generated.
Wtype-limits
--
2020-11-17 15:10:31 +00:00
2.29.2
2020-08-21 10:18:02 +00:00