aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-13 04:55:22 +0000
committerMike Frysinger <vapier@gentoo.org>2016-01-13 04:55:22 +0000
commite8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e (patch)
tree10aa7531c2dd4eb35c227930794f26dab9b0b609 /4.2.2/gentoo
parentupdate my local git path (diff)
downloadgcc-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.2.2/gentoo')
-rw-r--r--4.2.2/gentoo/00_all_gcc-trampolinewarn.patch32
-rw-r--r--4.2.2/gentoo/README.history1
2 files changed, 1 insertions, 32 deletions
diff --git a/4.2.2/gentoo/00_all_gcc-trampolinewarn.patch b/4.2.2/gentoo/00_all_gcc-trampolinewarn.patch
deleted file mode 100644
index a68a43f..0000000
--- a/4.2.2/gentoo/00_all_gcc-trampolinewarn.patch
+++ /dev/null
@@ -1,32 +0,0 @@
- This trivial patch causes gcc to emit a warning whenever
- it generates a trampoline. These are otherwise hard to
- locate. It is rigged to default ON - to have it default
- to OFF remove the text 'Init(1)' from the common.opt
- patch, leaving just 'Common Var(warn_trampolines)'.
- Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
-
---- gcc/gcc/common.opt
-+++ gcc/gcc/common.opt
-@@ -141,6 +141,10 @@
- Common Var(warn_system_headers)
- Do not suppress warnings from system headers
-
-+Wtrampolines
-+Common Var(warn_trampolines) Init(1)
-+Warn whenever a trampoline is generated
-+
- Wuninitialized
- Common Var(warn_uninitialized)
- Warn about uninitialized automatic variables
---- gcc/gcc/builtins.c
-+++ gcc/gcc/builtins.c
-@@ -5224,6 +5224,9 @@
- #endif
- trampolines_created = 1;
- INITIALIZE_TRAMPOLINE (r_tramp, r_func, r_chain);
-+
-+ if (warn_trampolines)
-+ warning (OPT_Wtrampolines, "generating trampoline in object (requires executable stack)");
-
- return const0_rtx;
- }
diff --git a/4.2.2/gentoo/README.history b/4.2.2/gentoo/README.history
index a7a4a3e..cf9f056 100644
--- a/4.2.2/gentoo/README.history
+++ b/4.2.2/gentoo/README.history
@@ -1,4 +1,5 @@
1.1 [pending]
+ - 00_all_gcc-trampolinewarn.patch
- 03_all_gcc4-java-nomulti.patch
+ 56_all_gcc-4.2-pr31899.patch