aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/012_all_default-warn-trampolines.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-06-02 08:56:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-05 13:47:16 +0000
commit6e1b72b5cd3e62bb418efaae68bd0f50d7391700 (patch)
tree8f802657da946121b31af0df7f917e365afc8a4e /main/gcc/012_all_default-warn-trampolines.patch
parent6dd6cf5392171bfaaf099e04f774373ff9f486d9 (diff)
downloadaports-6e1b72b5cd3e62bb418efaae68bd0f50d7391700.tar.bz2
aports-6e1b72b5cd3e62bb418efaae68bd0f50d7391700.tar.xz
main/gcc: upgrade to gcc 5.1.0
Diffstat (limited to 'main/gcc/012_all_default-warn-trampolines.patch')
-rw-r--r--main/gcc/012_all_default-warn-trampolines.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/gcc/012_all_default-warn-trampolines.patch b/main/gcc/012_all_default-warn-trampolines.patch
new file mode 100644
index 0000000000..9ab4378d4d
--- /dev/null
+++ b/main/gcc/012_all_default-warn-trampolines.patch
@@ -0,0 +1,25 @@
+Enable -Wtrampolines by default.
+
+
+--- a/gcc/common.opt
++++ b/gcc/common.opt
+@@ -648,7 +648,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
+--- a/gcc/doc/gcc.info
++++ b/gcc/doc/gcc.info
+@@ -4021,6 +4021,8 @@ compiler warns that an unrecognized option is present.
+ and thus requires the stack to be made executable in order for the
+ program to work properly.
+
++ This warning is enabled by default in Gentoo.
++
+ '-Wfloat-equal'
+ Warn if floating-point values are used in equality comparisons.
+