aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-02-22 23:45:59 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-02-22 23:45:59 +0000
commit27afb80e661ba54a9c71dcb3f52ebe8d46504cc2 (patch)
treef201fc18e729af1952f0d214e16d14fed5025368 /8.3.0/gentoo/03_all_default-warn-trampolines.patch
parent7.4.0: lto: fix target-specific option leak into global constructors (diff)
downloadgcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.tar.gz
gcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.tar.bz2
gcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.zip
8.3.0: cut patchset 1.0
It's a verbatim copy of 8.2.0 patchset with upstreamed patches removed. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '8.3.0/gentoo/03_all_default-warn-trampolines.patch')
-rw-r--r--8.3.0/gentoo/03_all_default-warn-trampolines.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/8.3.0/gentoo/03_all_default-warn-trampolines.patch b/8.3.0/gentoo/03_all_default-warn-trampolines.patch
new file mode 100644
index 0000000..7a644cb
--- /dev/null
+++ b/8.3.0/gentoo/03_all_default-warn-trampolines.patch
@@ -0,0 +1,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