diff options
author | 2016-01-13 04:55:22 +0000 | |
---|---|---|
committer | 2016-01-13 04:55:22 +0000 | |
commit | e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e (patch) | |
tree | 10aa7531c2dd4eb35c227930794f26dab9b0b609 /4.6.0 | |
parent | update my local git path (diff) | |
download | gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.tar.gz gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.tar.bz2 gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.zip |
stop enabling trampoline warnings by default in older versions for compatibility and simplicity -- these are really only used for old builds now and cross-compiling
Diffstat (limited to '4.6.0')
-rw-r--r-- | 4.6.0/gentoo/12_all_default-warn-trampolines.patch | 25 | ||||
-rw-r--r-- | 4.6.0/gentoo/README.history | 1 |
2 files changed, 1 insertions, 25 deletions
diff --git a/4.6.0/gentoo/12_all_default-warn-trampolines.patch b/4.6.0/gentoo/12_all_default-warn-trampolines.patch deleted file mode 100644 index a5606c5..0000000 --- a/4.6.0/gentoo/12_all_default-warn-trampolines.patch +++ /dev/null @@ -1,25 +0,0 @@ -Enable -Wtrampolines by default. - - ---- a/gcc/common.opt -+++ b/gcc/common.opt -@@ -611,7 +611,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/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -3766,6 +3766,8 @@ headers---for that, @option{-Wunknown-pragmas} must also be used. - @opindex Wno-trampolines - Warn about trampolines generated for pointers to nested functions. - -+ In Gentoo, @option{-Wtrampolines} is enabled by default. -+ - A trampoline is a small piece of data or code that is created at run - time on the stack when the address of a nested function is taken, and - is used to call the nested function indirectly. For some targets, it diff --git a/4.6.0/gentoo/README.history b/4.6.0/gentoo/README.history index ce96a26..7b56b8a 100644 --- a/4.6.0/gentoo/README.history +++ b/4.6.0/gentoo/README.history @@ -1,5 +1,6 @@ 1.4 [pending] - 03_all_java-nomulti.patch + - 12_all_default-warn-trampolines.patch + 39_all_cond-store-pr452445.patch + 40_all_superh-mieee-default-fix-pr33135.patch + 56_all_gcc-ppc-vector-pr48226.patch |