aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/012_all_default-warn-trampolines.patch
blob: 7a644cb1e1b1fcca2249bbadec634f66fd58ffd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Enable -Wtrampolines by default.

--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -712,7 +712,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