aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/012_all_default-warn-trampolines.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-09-26 07:13:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-26 12:55:51 +0000
commita1879bd58982c8ed4b39e08e17942462027ef447 (patch)
treea68063da2c9941223060eff709454462b72004e6 /main/gcc/012_all_default-warn-trampolines.patch
parentf2204f50d09189657c86ab78592289d75aef21e1 (diff)
downloadaports-a1879bd58982c8ed4b39e08e17942462027ef447.tar.bz2
aports-a1879bd58982c8ed4b39e08e17942462027ef447.tar.xz
main/gcc: upgrade to 8.2.0
Diffstat (limited to 'main/gcc/012_all_default-warn-trampolines.patch')
-rw-r--r--main/gcc/012_all_default-warn-trampolines.patch18
1 files changed, 3 insertions, 15 deletions
diff --git a/main/gcc/012_all_default-warn-trampolines.patch b/main/gcc/012_all_default-warn-trampolines.patch
index 9ab4378d4d..7a644cb1e1 100644
--- a/main/gcc/012_all_default-warn-trampolines.patch
+++ b/main/gcc/012_all_default-warn-trampolines.patch
@@ -1,25 +1,13 @@
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
+@@ -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
+ 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.
-