diff options
68 files changed, 42 insertions, 1588 deletions
diff --git a/3.4.6/gentoo/00_all_gcc-trampolinewarn.patch b/3.4.6/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index 9d7e508..0000000 --- a/3.4.6/gentoo/00_all_gcc-trampolinewarn.patch +++ /dev/null @@ -1,64 +0,0 @@ - This trivial patch causes gcc to emit a warning whenever - it generates a trampoline. These are otherwise hard to - locate. - Kevin F. Quinn <kevquinn@gentoo.org> 21 Dec 2005 - ---- gcc/gcc/c.opt -+++ gcc/gcc/c.opt -@@ -380,6 +380,10 @@ - C ObjC - Warn about features not present in traditional C - -+Wtrampolines -+C ObjC C++ ObjC++ -+Warn whenever the compiler generates a trampoline -+ - Wtrigraphs - C ObjC C++ ObjC++ - Warn if trigraphs are encountered that might affect the meaning of the program ---- gcc/gcc/c-opts.c -+++ gcc/gcc/c-opts.c -@@ -632,6 +632,10 @@ - cpp_opts->warn_traditional = value; - break; - -+ case OPT_Wtrampolines: -+ warn_trampolines = value; -+ break; -+ - case OPT_Wtrigraphs: - cpp_opts->warn_trigraphs = value; - break; ---- gcc/gcc/flags.h -+++ gcc/gcc/flags.h -@@ -815,4 +815,8 @@ - - extern int flag_stack_protection; - -+/* Warn whenever a trampoline is generated. */ -+ -+extern bool warn_trampolines; -+ - #endif /* ! GCC_FLAGS_H */ ---- gcc/gcc/function.c -+++ gcc/gcc/function.c -@@ -137,6 +137,9 @@ - /* Nonzero if at least one trampoline has been created. */ - int trampolines_created; - -+/* Warn when a trampoline is generated. */ -+bool warn_trampolines = 1; -+ - /* Assign unique numbers to labels generated for profiling, debugging, etc. */ - static GTY(()) int funcdef_no; - -@@ -7048,6 +7051,9 @@ - - /* Put those insns at entry to the containing function (this one). */ - emit_insn_before (seq, tail_recursion_reentry); -+ -+ if (warn_trampolines) -+ warning ("generating trampoline in object (requires executable stack)"); - } - - /* If we are doing stack checking and this function makes calls, diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history index 72d30c9..da425fb 100644 --- a/3.4.6/gentoo/README.history +++ b/3.4.6/gentoo/README.history @@ -1,3 +1,6 @@ +1.9 [pending] + - 00_all_gcc-trampolinewarn.patch + 1.8 06 Apr 2015 + 10_all_gcc-3.4.6-c-parse-bison-3.patch diff --git a/4.0.3/gentoo/00_all_gcc-trampolinewarn.patch b/4.0.3/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index 96db820..0000000 --- a/4.0.3/gentoo/00_all_gcc-trampolinewarn.patch +++ /dev/null @@ -1,68 +0,0 @@ - This trivial patch causes gcc to emit a warning whenever - it generates a trampoline. These are otherwise hard to - locate. - Kevin F. Quinn <kevquinn@gentoo.org> 21 Dec 2005 - ---- gcc/gcc/c.opt -+++ gcc/gcc/c.opt -@@ -406,6 +406,10 @@ - C ObjC Var(warn_traditional) - Warn about features not present in traditional C - -+Wtrampolines -+C ObjC C++ ObjC++ -+Warn whenever the compiler generates a trampoline -+ - Wtrigraphs - C ObjC C++ ObjC++ - Warn if trigraphs are encountered that might affect the meaning of the program ---- gcc/gcc/c-opts.c -+++ gcc/gcc/c-opts.c -@@ -476,6 +476,10 @@ - cpp_opts->warn_traditional = value; - break; - -+ case OPT_Wtrampolines: -+ warn_trampolines = value; -+ break; -+ - case OPT_Wtrigraphs: - cpp_opts->warn_trigraphs = value; - break; ---- gcc/gcc/flags.h -+++ gcc/gcc/flags.h -@@ -118,6 +118,10 @@ - - extern int warn_strict_aliasing; - -+/* Warn whenever a trampoline is generated. */ -+ -+extern bool warn_trampolines; -+ - /* Temporarily suppress certain warnings. - This is set while reading code from a system header file. */ - ---- gcc/gcc/varasm.c -+++ gcc/gcc/varasm.c -@@ -5428,6 +5428,9 @@ - - int trampolines_created; - -+/* Warn when a trampoline is generated. */ -+bool warn_trampolines = 1; -+ - void - file_end_indicate_exec_stack (void) - { ---- gcc/gcc/builtins.c -+++ gcc/gcc/builtins.c -@@ -5014,6 +5014,9 @@ - #endif - trampolines_created = 1; - INITIALIZE_TRAMPOLINE (r_tramp, r_func, r_chain); -+ -+ if (warn_trampolines) -+ warning ("generating trampoline in object (requires executable stack)"); - - return const0_rtx; - } diff --git a/4.0.4/gentoo/00_all_gcc-trampolinewarn.patch b/4.0.4/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index 96db820..0000000 --- a/4.0.4/gentoo/00_all_gcc-trampolinewarn.patch +++ /dev/null @@ -1,68 +0,0 @@ - This trivial patch causes gcc to emit a warning whenever - it generates a trampoline. These are otherwise hard to - locate. - Kevin F. Quinn <kevquinn@gentoo.org> 21 Dec 2005 - ---- gcc/gcc/c.opt -+++ gcc/gcc/c.opt -@@ -406,6 +406,10 @@ - C ObjC Var(warn_traditional) - Warn about features not present in traditional C - -+Wtrampolines -+C ObjC C++ ObjC++ -+Warn whenever the compiler generates a trampoline -+ - Wtrigraphs - C ObjC C++ ObjC++ - Warn if trigraphs are encountered that might affect the meaning of the program ---- gcc/gcc/c-opts.c -+++ gcc/gcc/c-opts.c -@@ -476,6 +476,10 @@ - cpp_opts->warn_traditional = value; - break; - -+ case OPT_Wtrampolines: -+ warn_trampolines = value; -+ break; -+ - case OPT_Wtrigraphs: - cpp_opts->warn_trigraphs = value; - break; ---- gcc/gcc/flags.h -+++ gcc/gcc/flags.h -@@ -118,6 +118,10 @@ - - extern int warn_strict_aliasing; - -+/* Warn whenever a trampoline is generated. */ -+ -+extern bool warn_trampolines; -+ - /* Temporarily suppress certain warnings. - This is set while reading code from a system header file. */ - ---- gcc/gcc/varasm.c -+++ gcc/gcc/varasm.c -@@ -5428,6 +5428,9 @@ - - int trampolines_created; - -+/* Warn when a trampoline is generated. */ -+bool warn_trampolines = 1; -+ - void - file_end_indicate_exec_stack (void) - { ---- gcc/gcc/builtins.c -+++ gcc/gcc/builtins.c -@@ -5014,6 +5014,9 @@ - #endif - trampolines_created = 1; - INITIALIZE_TRAMPOLINE (r_tramp, r_func, r_chain); -+ -+ if (warn_trampolines) -+ warning ("generating trampoline in object (requires executable stack)"); - - return const0_rtx; - } diff --git a/4.0.4/gentoo/README.history b/4.0.4/gentoo/README.history index 894e96f..c39a9a6 100644 --- a/4.0.4/gentoo/README.history +++ b/4.0.4/gentoo/README.history @@ -1,3 +1,6 @@ +1.3 [pending] + - 00_all_gcc-trampolinewarn.patch + 1.2 17 Oct 2014 + 01_all_gcc-4.1-alpha-asm-mcpu.patch + 05_all_gcc-4.0.x-siginfo.patch diff --git a/4.1.0/gentoo/00_all_gcc-trampolinewarn.patch b/4.1.0/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.1.0/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.1.1/gentoo/00_all_gcc-trampolinewarn.patch b/4.1.1/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.1.1/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.1.2/gentoo/00_all_gcc-trampolinewarn.patch b/4.1.2/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.1.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.1.2/gentoo/README.history b/4.1.2/gentoo/README.history index ddf6b08..eb3d91a 100644 --- a/4.1.2/gentoo/README.history +++ b/4.1.2/gentoo/README.history @@ -1,3 +1,6 @@ +1.6 [pending] + - 00_all_gcc-trampolinewarn.patch + 1.5 27 Dec 2013 + 27_all_gcj-glibc-2.15-pr50888.patch diff --git a/4.2.0/gentoo/00_all_gcc-trampolinewarn.patch b/4.2.0/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.2.0/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.0/gentoo/README.history b/4.2.0/gentoo/README.history index 3ca9d2d..760206e 100644 --- a/4.2.0/gentoo/README.history +++ b/4.2.0/gentoo/README.history @@ -1,4 +1,5 @@ 1.5 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc4-java-nomulti.patch 1.4 10 Jul 2007 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 diff --git a/4.2.3/gentoo/00_all_gcc-trampolinewarn.patch b/4.2.3/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.2.3/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.3/gentoo/README.history b/4.2.3/gentoo/README.history index 47b4d06..d3fe294 100644 --- a/4.2.3/gentoo/README.history +++ b/4.2.3/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-pr32177.patch + 65_all_gcc-hppa-pr34627.patch diff --git a/4.2.4/gentoo/00_all_gcc-trampolinewarn.patch b/4.2.4/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.2.4/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.4/gentoo/README.history b/4.2.4/gentoo/README.history index 458dad7..6ade77c 100644 --- a/4.2.4/gentoo/README.history +++ b/4.2.4/gentoo/README.history @@ -1,3 +1,6 @@ +1.4 [pending] + - 00_all_gcc-trampolinewarn.patch + 1.3 27 Dec 2013 + 27_all_gcj-glibc-2.15-pr50888.patch diff --git a/4.3.0/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.0/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.0/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.3.0/gentoo/README.history b/4.3.0/gentoo/README.history index 382b059..1a14d53 100644 --- a/4.3.0/gentoo/README.history +++ b/4.3.0/gentoo/README.history @@ -1,4 +1,5 @@ 1.3 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch + 69_all-gcc43-pr38591-depend.patch diff --git a/4.3.1/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.1/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.1/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.3.1/gentoo/README.history b/4.3.1/gentoo/README.history index 5364ee2..3cfc202 100644 --- a/4.3.1/gentoo/README.history +++ b/4.3.1/gentoo/README.history @@ -1,4 +1,5 @@ 1.2 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch + 69_all-gcc43-pr38591-depend.patch diff --git a/4.3.2/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.2/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.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.3.2/gentoo/README.history b/4.3.2/gentoo/README.history index f14a5fd..099ebac 100644 --- a/4.3.2/gentoo/README.history +++ b/4.3.2/gentoo/README.history @@ -1,4 +1,5 @@ 1.9 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch + 69_all-gcc43-pr38591-depend.patch diff --git a/4.3.3/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.3/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.3/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.3.3/gentoo/README.history b/4.3.3/gentoo/README.history index 81367c5..d4741c2 100644 --- a/4.3.3/gentoo/README.history +++ b/4.3.3/gentoo/README.history @@ -1,4 +1,5 @@ 1.3 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.3.4/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.4/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.4/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.3.4/gentoo/README.history b/4.3.4/gentoo/README.history index 557ac2b..62cc390 100644 --- a/4.3.4/gentoo/README.history +++ b/4.3.4/gentoo/README.history @@ -1,4 +1,5 @@ 1.5 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.3.5/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.5/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.5/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.3.5/gentoo/README.history b/4.3.5/gentoo/README.history index 7357835..30fadcf 100644 --- a/4.3.5/gentoo/README.history +++ b/4.3.5/gentoo/README.history @@ -1,4 +1,5 @@ 1.2 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.3.6/gentoo/00_all_gcc-trampolinewarn.patch b/4.3.6/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.3.6/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.3.6/gentoo/README.history b/4.3.6/gentoo/README.history index 648edc0..d2c68a5 100644 --- a/4.3.6/gentoo/README.history +++ b/4.3.6/gentoo/README.history @@ -1,4 +1,5 @@ 1.2 [pending] + - 00_all_gcc-trampolinewarn.patch + 18_all_libgcc-cross-canadian.patch 1.1 24 Nov 2012 diff --git a/4.4.0/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.0/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.0/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.4.0/gentoo/README.history b/4.4.0/gentoo/README.history index 3c78d6b..de6cf5a 100644 --- a/4.4.0/gentoo/README.history +++ b/4.4.0/gentoo/README.history @@ -1,4 +1,5 @@ 1.3 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.1/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.1/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.1/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.4.1/gentoo/README.history b/4.4.1/gentoo/README.history index 067a57a..0a2ab6f 100644 --- a/4.4.1/gentoo/README.history +++ b/4.4.1/gentoo/README.history @@ -1,4 +1,5 @@ 1.1 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.2/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.2/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.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.4.2/gentoo/README.history b/4.4.2/gentoo/README.history index 6d54a2f..f1183ea 100644 --- a/4.4.2/gentoo/README.history +++ b/4.4.2/gentoo/README.history @@ -1,4 +1,5 @@ 1.1 [pending] + - 00_all_gcc-trampolinewarn.patch + 01_all_gcc-4.1-alpha-asm-mcpu.patch + 02_all_gcc-4.4-alpha-PR42113.patch - 03_all_gcc43-java-nomulti.patch diff --git a/4.4.3/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.3/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.3/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.4.3/gentoo/README.history b/4.4.3/gentoo/README.history index a9350b9..33181e5 100644 --- a/4.4.3/gentoo/README.history +++ b/4.4.3/gentoo/README.history @@ -1,4 +1,5 @@ 1.5 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.4/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.4/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.4/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.4.4/gentoo/README.history b/4.4.4/gentoo/README.history index fee3b29..eb750e1 100644 --- a/4.4.4/gentoo/README.history +++ b/4.4.4/gentoo/README.history @@ -1,4 +1,5 @@ 1.5 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.5/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.5/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.5/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.4.5/gentoo/README.history b/4.4.5/gentoo/README.history index ed17599..5d9183f 100644 --- a/4.4.5/gentoo/README.history +++ b/4.4.5/gentoo/README.history @@ -1,4 +1,5 @@ 1.4 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.6/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.6/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.6/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.4.6/gentoo/README.history b/4.4.6/gentoo/README.history index ca790b3..8d6b23b 100644 --- a/4.4.6/gentoo/README.history +++ b/4.4.6/gentoo/README.history @@ -1,4 +1,5 @@ 1.1 [pending] + - 00_all_gcc-trampolinewarn.patch - 03_all_gcc43-java-nomulti.patch + 05_all_gcc-4.5.x-siginfo.patch - 10_all_gcc-default-fortify-source.patch diff --git a/4.4.7/gentoo/00_all_gcc-trampolinewarn.patch b/4.4.7/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.4.7/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.4.7/gentoo/README.history b/4.4.7/gentoo/README.history index 563a330..1e71612 100644 --- a/4.4.7/gentoo/README.history +++ b/4.4.7/gentoo/README.history @@ -1,4 +1,5 @@ 1.3 [pending] + - 00_all_gcc-trampolinewarn.patch + 18_all_libgcc-cross-canadian.patch + 34_all_libjava-classpath-locale-sort.patch diff --git a/4.5.1/gentoo/09_all_gcc-4.5-Wtrampolines.patch b/4.5.1/gentoo/09_all_gcc-4.5-Wtrampolines.patch deleted file mode 100644 index 9c95c1e..0000000 --- a/4.5.1/gentoo/09_all_gcc-4.5-Wtrampolines.patch +++ /dev/null @@ -1,64 +0,0 @@ -2010-07-15 Magnus Granberg <zorry@gentoo.org> - Kevin F. Quinn <kevquinn@gentoo.org> - - * builtins.c (expand_builtin_init_trampoline): If - -Wtrampolines make a warning. - * common.opt: Add -Wtrampolines. - * doc/invoke.texi: Add -Wtrampolines. - -2010-07-31 Magnus Granberg <zorry@gentoo.org> - - #328451 set -Wtrampolines as default - -http://gcc.gnu.org/viewcvs?view=revision&revision=162205 - ---- a/gcc/builtins.c -+++ b/gcc/builtins.c -@@ -5155,6 +5155,10 @@ expand_builtin_init_trampoline (tree exp) - targetm.calls.trampoline_init (m_tramp, t_func, r_chain); - - trampolines_created = 1; -+ -+ warning_at (DECL_SOURCE_LOCATION (t_func), OPT_Wtrampolines, -+ "trampoline generated for nested function %qD", t_func); -+ - return const0_rtx; - } - ---- a/gcc/common.opt -+++ b/gcc/common.opt -@@ -192,6 +192,10 @@ Wsystem-headers - Common Var(warn_system_headers) Warning - Do not suppress warnings from system headers - -+Wtrampolines -+Common Var(warn_trampolines) Init(1) Warning -+Warn whenever a trampoline is generated -+ - Wtype-limits - Common Var(warn_type_limits) Init(-1) Warning - Warn if a comparison is always true or always false due to the limited range of the data type ---- a/gcc/doc/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -3611,6 +3611,21 @@ code. However, note that using @option{-Wall} in conjunction with this - option will @emph{not} warn about unknown pragmas in system - headers---for that, @option{-Wunknown-pragmas} must also be used. - -+@item -Wtrampolines -+@opindex Wtrampolines -+@opindex Wno-trampolines -+ Warn about trampolines generated for pointers to nested functions. -+ -+ NOTE: In Gentoo, @option{-Wtrampolines} is set by default. -+ To disable, specify @option{-Wno-trampolines} -+ -+ 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 -+ is made up of data only and thus requires no special treatment. But, -+ for most targets, it is made up of code and thus requires the stack -+ to be made executable in order for the program to work properly. -+ - @item -Wfloat-equal - @opindex Wfloat-equal - @opindex Wno-float-equal diff --git a/4.5.1/gentoo/README.history b/4.5.1/gentoo/README.history index 36201bd..779cbe3 100644 --- a/4.5.1/gentoo/README.history +++ b/4.5.1/gentoo/README.history @@ -1,5 +1,6 @@ 1.6 [pending] - 03_all_gcc43-java-nomulti.patch + - 09_all_gcc-4.5-Wtrampolines.patch + 56_all_gcc-ppc-vector-pr48226.patch 1.5 27 Sep 2012 diff --git a/4.5.2/gentoo/09_all_gcc-4.5-Wtrampolines.patch b/4.5.2/gentoo/09_all_gcc-4.5-Wtrampolines.patch deleted file mode 100644 index 9c95c1e..0000000 --- a/4.5.2/gentoo/09_all_gcc-4.5-Wtrampolines.patch +++ /dev/null @@ -1,64 +0,0 @@ -2010-07-15 Magnus Granberg <zorry@gentoo.org> - Kevin F. Quinn <kevquinn@gentoo.org> - - * builtins.c (expand_builtin_init_trampoline): If - -Wtrampolines make a warning. - * common.opt: Add -Wtrampolines. - * doc/invoke.texi: Add -Wtrampolines. - -2010-07-31 Magnus Granberg <zorry@gentoo.org> - - #328451 set -Wtrampolines as default - -http://gcc.gnu.org/viewcvs?view=revision&revision=162205 - ---- a/gcc/builtins.c -+++ b/gcc/builtins.c -@@ -5155,6 +5155,10 @@ expand_builtin_init_trampoline (tree exp) - targetm.calls.trampoline_init (m_tramp, t_func, r_chain); - - trampolines_created = 1; -+ -+ warning_at (DECL_SOURCE_LOCATION (t_func), OPT_Wtrampolines, -+ "trampoline generated for nested function %qD", t_func); -+ - return const0_rtx; - } - ---- a/gcc/common.opt -+++ b/gcc/common.opt -@@ -192,6 +192,10 @@ Wsystem-headers - Common Var(warn_system_headers) Warning - Do not suppress warnings from system headers - -+Wtrampolines -+Common Var(warn_trampolines) Init(1) Warning -+Warn whenever a trampoline is generated -+ - Wtype-limits - Common Var(warn_type_limits) Init(-1) Warning - Warn if a comparison is always true or always false due to the limited range of the data type ---- a/gcc/doc/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -3611,6 +3611,21 @@ code. However, note that using @option{-Wall} in conjunction with this - option will @emph{not} warn about unknown pragmas in system - headers---for that, @option{-Wunknown-pragmas} must also be used. - -+@item -Wtrampolines -+@opindex Wtrampolines -+@opindex Wno-trampolines -+ Warn about trampolines generated for pointers to nested functions. -+ -+ NOTE: In Gentoo, @option{-Wtrampolines} is set by default. -+ To disable, specify @option{-Wno-trampolines} -+ -+ 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 -+ is made up of data only and thus requires no special treatment. But, -+ for most targets, it is made up of code and thus requires the stack -+ to be made executable in order for the program to work properly. -+ - @item -Wfloat-equal - @opindex Wfloat-equal - @opindex Wno-float-equal diff --git a/4.5.2/gentoo/99_all_testsuite-02-Wtrampolines.patch b/4.5.2/gentoo/99_all_testsuite-02-Wtrampolines.patch deleted file mode 100644 index f9be664..0000000 --- a/4.5.2/gentoo/99_all_testsuite-02-Wtrampolines.patch +++ /dev/null @@ -1,101 +0,0 @@ - Workaround testsuite failures caused by enabling -Wtrampolines by default. - - gcc/testsuite/gcc.dg/20050607-1.c | 2 +- - gcc/testsuite/gcc.dg/debug/debug-3.c | 1 + - gcc/testsuite/gcc.dg/debug/debug-5.c | 1 + - gcc/testsuite/gcc.dg/nested-func-5.c | 2 +- - gcc/testsuite/gcc.dg/pr34457-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/nested-fn-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c | 1 + - gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c | 1 + - gcc/testsuite/gcc.dg/trampoline-1.c | 2 +- - 9 files changed, 9 insertions(+), 5 deletions(-) - ---- a/gcc/testsuite/gcc.dg/20050607-1.c -+++ b/gcc/testsuite/gcc.dg/20050607-1.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-Wpadded" } -+/* { dg-options "-Wpadded -Wno-trampolines" } - /* The struct internally constructed for the nested function should - not result in a warning from -Wpadded. */ - extern int baz(int (*) (int)); ---- a/gcc/testsuite/gcc.dg/debug/debug-3.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-3.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - struct A { char *a, *b, *c, *d; }; - ---- a/gcc/testsuite/gcc.dg/debug/debug-5.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-5.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - ---- a/gcc/testsuite/gcc.dg/nested-func-5.c -+++ b/gcc/testsuite/gcc.dg/nested-func-5.c -@@ -1,5 +1,5 @@ - /* { dg-do compile } */ --/* { dg-options "-fexceptions" } */ -+/* { dg-options "-fexceptions -Wno-trampolines" } */ - /* PR28516: ICE generating ARM unwind directives for nested functions. */ - /* { dg-require-effective-target trampolines } */ - ---- a/gcc/testsuite/gcc.dg/pr34457-1.c -+++ b/gcc/testsuite/gcc.dg/pr34457-1.c -@@ -1,7 +1,7 @@ - /* PR c/34457 */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "--combine -O2" } */ -+/* { dg-options "--combine -O2 -Wno-trampolines" } */ - /* { dg-additional-sources "pr34457-2.c" } */ - - ---- a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -+++ b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -@@ -1,7 +1,7 @@ - /* PR middle-end/15345, c/16450 */ - /* Test whether unused nested functions aren't emitted into the assembly. */ - /* { dg-do compile } */ --/* { dg-options "-g0" } */ -+/* { dg-options "-g0 -Wno-trampolines" } */ - /* { dg-require-effective-target trampolines } */ - - int ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - extern void exit (int); ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - ---- a/gcc/testsuite/gcc.dg/trampoline-1.c -+++ b/gcc/testsuite/gcc.dg/trampoline-1.c -@@ -3,7 +3,7 @@ - - /* { dg-do run } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-O2" } */ -+/* { dg-options "-O2 -Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - diff --git a/4.5.2/gentoo/README.history b/4.5.2/gentoo/README.history index 2673118..e8031ad 100644 --- a/4.5.2/gentoo/README.history +++ b/4.5.2/gentoo/README.history @@ -1,6 +1,8 @@ 1.3 [pending] - 03_all_gcc43-java-nomulti.patch + - 09_all_gcc-4.5-Wtrampolines.patch + 56_all_gcc-ppc-vector-pr48226.patch + - 99_all_testsuite-02-Wtrampolines.patch 1.2 27 Sep 2012 + 05_all_gcc-4.5.x-siginfo.patch diff --git a/4.5.3/gentoo/09_all_gcc-4.5-Wtrampolines.patch b/4.5.3/gentoo/09_all_gcc-4.5-Wtrampolines.patch deleted file mode 100644 index 9c95c1e..0000000 --- a/4.5.3/gentoo/09_all_gcc-4.5-Wtrampolines.patch +++ /dev/null @@ -1,64 +0,0 @@ -2010-07-15 Magnus Granberg <zorry@gentoo.org> - Kevin F. Quinn <kevquinn@gentoo.org> - - * builtins.c (expand_builtin_init_trampoline): If - -Wtrampolines make a warning. - * common.opt: Add -Wtrampolines. - * doc/invoke.texi: Add -Wtrampolines. - -2010-07-31 Magnus Granberg <zorry@gentoo.org> - - #328451 set -Wtrampolines as default - -http://gcc.gnu.org/viewcvs?view=revision&revision=162205 - ---- a/gcc/builtins.c -+++ b/gcc/builtins.c -@@ -5155,6 +5155,10 @@ expand_builtin_init_trampoline (tree exp) - targetm.calls.trampoline_init (m_tramp, t_func, r_chain); - - trampolines_created = 1; -+ -+ warning_at (DECL_SOURCE_LOCATION (t_func), OPT_Wtrampolines, -+ "trampoline generated for nested function %qD", t_func); -+ - return const0_rtx; - } - ---- a/gcc/common.opt -+++ b/gcc/common.opt -@@ -192,6 +192,10 @@ Wsystem-headers - Common Var(warn_system_headers) Warning - Do not suppress warnings from system headers - -+Wtrampolines -+Common Var(warn_trampolines) Init(1) Warning -+Warn whenever a trampoline is generated -+ - Wtype-limits - Common Var(warn_type_limits) Init(-1) Warning - Warn if a comparison is always true or always false due to the limited range of the data type ---- a/gcc/doc/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -3611,6 +3611,21 @@ code. However, note that using @option{-Wall} in conjunction with this - option will @emph{not} warn about unknown pragmas in system - headers---for that, @option{-Wunknown-pragmas} must also be used. - -+@item -Wtrampolines -+@opindex Wtrampolines -+@opindex Wno-trampolines -+ Warn about trampolines generated for pointers to nested functions. -+ -+ NOTE: In Gentoo, @option{-Wtrampolines} is set by default. -+ To disable, specify @option{-Wno-trampolines} -+ -+ 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 -+ is made up of data only and thus requires no special treatment. But, -+ for most targets, it is made up of code and thus requires the stack -+ to be made executable in order for the program to work properly. -+ - @item -Wfloat-equal - @opindex Wfloat-equal - @opindex Wno-float-equal diff --git a/4.5.3/gentoo/99_all_testsuite-02-Wtrampolines.patch b/4.5.3/gentoo/99_all_testsuite-02-Wtrampolines.patch deleted file mode 100644 index f9be664..0000000 --- a/4.5.3/gentoo/99_all_testsuite-02-Wtrampolines.patch +++ /dev/null @@ -1,101 +0,0 @@ - Workaround testsuite failures caused by enabling -Wtrampolines by default. - - gcc/testsuite/gcc.dg/20050607-1.c | 2 +- - gcc/testsuite/gcc.dg/debug/debug-3.c | 1 + - gcc/testsuite/gcc.dg/debug/debug-5.c | 1 + - gcc/testsuite/gcc.dg/nested-func-5.c | 2 +- - gcc/testsuite/gcc.dg/pr34457-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/nested-fn-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c | 1 + - gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c | 1 + - gcc/testsuite/gcc.dg/trampoline-1.c | 2 +- - 9 files changed, 9 insertions(+), 5 deletions(-) - ---- a/gcc/testsuite/gcc.dg/20050607-1.c -+++ b/gcc/testsuite/gcc.dg/20050607-1.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-Wpadded" } -+/* { dg-options "-Wpadded -Wno-trampolines" } - /* The struct internally constructed for the nested function should - not result in a warning from -Wpadded. */ - extern int baz(int (*) (int)); ---- a/gcc/testsuite/gcc.dg/debug/debug-3.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-3.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - struct A { char *a, *b, *c, *d; }; - ---- a/gcc/testsuite/gcc.dg/debug/debug-5.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-5.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - ---- a/gcc/testsuite/gcc.dg/nested-func-5.c -+++ b/gcc/testsuite/gcc.dg/nested-func-5.c -@@ -1,5 +1,5 @@ - /* { dg-do compile } */ --/* { dg-options "-fexceptions" } */ -+/* { dg-options "-fexceptions -Wno-trampolines" } */ - /* PR28516: ICE generating ARM unwind directives for nested functions. */ - /* { dg-require-effective-target trampolines } */ - ---- a/gcc/testsuite/gcc.dg/pr34457-1.c -+++ b/gcc/testsuite/gcc.dg/pr34457-1.c -@@ -1,7 +1,7 @@ - /* PR c/34457 */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "--combine -O2" } */ -+/* { dg-options "--combine -O2 -Wno-trampolines" } */ - /* { dg-additional-sources "pr34457-2.c" } */ - - ---- a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -+++ b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -@@ -1,7 +1,7 @@ - /* PR middle-end/15345, c/16450 */ - /* Test whether unused nested functions aren't emitted into the assembly. */ - /* { dg-do compile } */ --/* { dg-options "-g0" } */ -+/* { dg-options "-g0 -Wno-trampolines" } */ - /* { dg-require-effective-target trampolines } */ - - int ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - extern void exit (int); ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - ---- a/gcc/testsuite/gcc.dg/trampoline-1.c -+++ b/gcc/testsuite/gcc.dg/trampoline-1.c -@@ -3,7 +3,7 @@ - - /* { dg-do run } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-O2" } */ -+/* { dg-options "-O2 -Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - diff --git a/4.5.3/gentoo/README.history b/4.5.3/gentoo/README.history index ec8765d..113dbaa 100644 --- a/4.5.3/gentoo/README.history +++ b/4.5.3/gentoo/README.history @@ -1,6 +1,8 @@ 1.7 [pending] - 03_all_gcc43-java-nomulti.patch + - 09_all_gcc-4.5-Wtrampolines.patch + 56_all_gcc-ppc-vector-pr48226.patch + - 99_all_testsuite-02-Wtrampolines.patch 1.6 27 Sep 2012 + 05_all_gcc-4.5.x-siginfo.patch diff --git a/4.5.4/gentoo/09_all_gcc-4.5-Wtrampolines.patch b/4.5.4/gentoo/09_all_gcc-4.5-Wtrampolines.patch deleted file mode 100644 index 9c95c1e..0000000 --- a/4.5.4/gentoo/09_all_gcc-4.5-Wtrampolines.patch +++ /dev/null @@ -1,64 +0,0 @@ -2010-07-15 Magnus Granberg <zorry@gentoo.org> - Kevin F. Quinn <kevquinn@gentoo.org> - - * builtins.c (expand_builtin_init_trampoline): If - -Wtrampolines make a warning. - * common.opt: Add -Wtrampolines. - * doc/invoke.texi: Add -Wtrampolines. - -2010-07-31 Magnus Granberg <zorry@gentoo.org> - - #328451 set -Wtrampolines as default - -http://gcc.gnu.org/viewcvs?view=revision&revision=162205 - ---- a/gcc/builtins.c -+++ b/gcc/builtins.c -@@ -5155,6 +5155,10 @@ expand_builtin_init_trampoline (tree exp) - targetm.calls.trampoline_init (m_tramp, t_func, r_chain); - - trampolines_created = 1; -+ -+ warning_at (DECL_SOURCE_LOCATION (t_func), OPT_Wtrampolines, -+ "trampoline generated for nested function %qD", t_func); -+ - return const0_rtx; - } - ---- a/gcc/common.opt -+++ b/gcc/common.opt -@@ -192,6 +192,10 @@ Wsystem-headers - Common Var(warn_system_headers) Warning - Do not suppress warnings from system headers - -+Wtrampolines -+Common Var(warn_trampolines) Init(1) Warning -+Warn whenever a trampoline is generated -+ - Wtype-limits - Common Var(warn_type_limits) Init(-1) Warning - Warn if a comparison is always true or always false due to the limited range of the data type ---- a/gcc/doc/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -3611,6 +3611,21 @@ code. However, note that using @option{-Wall} in conjunction with this - option will @emph{not} warn about unknown pragmas in system - headers---for that, @option{-Wunknown-pragmas} must also be used. - -+@item -Wtrampolines -+@opindex Wtrampolines -+@opindex Wno-trampolines -+ Warn about trampolines generated for pointers to nested functions. -+ -+ NOTE: In Gentoo, @option{-Wtrampolines} is set by default. -+ To disable, specify @option{-Wno-trampolines} -+ -+ 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 -+ is made up of data only and thus requires no special treatment. But, -+ for most targets, it is made up of code and thus requires the stack -+ to be made executable in order for the program to work properly. -+ - @item -Wfloat-equal - @opindex Wfloat-equal - @opindex Wno-float-equal diff --git a/4.5.4/gentoo/99_all_testsuite-02-Wtrampolines.patch b/4.5.4/gentoo/99_all_testsuite-02-Wtrampolines.patch deleted file mode 100644 index f9be664..0000000 --- a/4.5.4/gentoo/99_all_testsuite-02-Wtrampolines.patch +++ /dev/null @@ -1,101 +0,0 @@ - Workaround testsuite failures caused by enabling -Wtrampolines by default. - - gcc/testsuite/gcc.dg/20050607-1.c | 2 +- - gcc/testsuite/gcc.dg/debug/debug-3.c | 1 + - gcc/testsuite/gcc.dg/debug/debug-5.c | 1 + - gcc/testsuite/gcc.dg/nested-func-5.c | 2 +- - gcc/testsuite/gcc.dg/pr34457-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/nested-fn-1.c | 2 +- - gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c | 1 + - gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c | 1 + - gcc/testsuite/gcc.dg/trampoline-1.c | 2 +- - 9 files changed, 9 insertions(+), 5 deletions(-) - ---- a/gcc/testsuite/gcc.dg/20050607-1.c -+++ b/gcc/testsuite/gcc.dg/20050607-1.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-Wpadded" } -+/* { dg-options "-Wpadded -Wno-trampolines" } - /* The struct internally constructed for the nested function should - not result in a warning from -Wpadded. */ - extern int baz(int (*) (int)); ---- a/gcc/testsuite/gcc.dg/debug/debug-3.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-3.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - struct A { char *a, *b, *c, *d; }; - ---- a/gcc/testsuite/gcc.dg/debug/debug-5.c -+++ b/gcc/testsuite/gcc.dg/debug/debug-5.c -@@ -2,6 +2,7 @@ - (spanned 0 basic blocks) and DWARF-2 couldn't find baz origin. */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - ---- a/gcc/testsuite/gcc.dg/nested-func-5.c -+++ b/gcc/testsuite/gcc.dg/nested-func-5.c -@@ -1,5 +1,5 @@ - /* { dg-do compile } */ --/* { dg-options "-fexceptions" } */ -+/* { dg-options "-fexceptions -Wno-trampolines" } */ - /* PR28516: ICE generating ARM unwind directives for nested functions. */ - /* { dg-require-effective-target trampolines } */ - ---- a/gcc/testsuite/gcc.dg/pr34457-1.c -+++ b/gcc/testsuite/gcc.dg/pr34457-1.c -@@ -1,7 +1,7 @@ - /* PR c/34457 */ - /* { dg-do compile } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "--combine -O2" } */ -+/* { dg-options "--combine -O2 -Wno-trampolines" } */ - /* { dg-additional-sources "pr34457-2.c" } */ - - ---- a/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -+++ b/gcc/testsuite/gcc.dg/torture/nested-fn-1.c -@@ -1,7 +1,7 @@ - /* PR middle-end/15345, c/16450 */ - /* Test whether unused nested functions aren't emitted into the assembly. */ - /* { dg-do compile } */ --/* { dg-options "-g0" } */ -+/* { dg-options "-g0 -Wno-trampolines" } */ - /* { dg-require-effective-target trampolines } */ - - int ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-5.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - extern void abort (void); - extern void exit (int); ---- a/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -+++ b/gcc/testsuite/gcc.dg/torture/stackalign/nested-6.c -@@ -1,4 +1,5 @@ - /* { dg-do run } */ -+/* { dg-options "-Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - ---- a/gcc/testsuite/gcc.dg/trampoline-1.c -+++ b/gcc/testsuite/gcc.dg/trampoline-1.c -@@ -3,7 +3,7 @@ - - /* { dg-do run } */ - /* { dg-require-effective-target trampolines } */ --/* { dg-options "-O2" } */ -+/* { dg-options "-O2 -Wno-trampolines" } */ - - #ifndef NO_TRAMPOLINES - diff --git a/4.5.4/gentoo/README.history b/4.5.4/gentoo/README.history index 2d0dd1b..8aace3d 100644 --- a/4.5.4/gentoo/README.history +++ b/4.5.4/gentoo/README.history @@ -1,6 +1,8 @@ 1.3 [pending] + - 09_all_gcc-4.5-Wtrampolines.patch + 18_all_libgcc-cross-canadian.patch + 34_all_libjava-classpath-locale-sort.patch + - 99_all_testsuite-02-Wtrampolines.patch 1.2 19 Apr 2013 + 30_all_gcc-4.5_arm_armv4-no-thumb-fix-link.patch 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 diff --git a/4.6.1/gentoo/12_all_default-warn-trampolines.patch b/4.6.1/gentoo/12_all_default-warn-trampolines.patch deleted file mode 100644 index a5606c5..0000000 --- a/4.6.1/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.1/gentoo/README.history b/4.6.1/gentoo/README.history index 086cf5d..1ca9e0a 100644 --- a/4.6.1/gentoo/README.history +++ b/4.6.1/gentoo/README.history @@ -1,5 +1,6 @@ 1.2 [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 diff --git a/4.6.2/gentoo/12_all_default-warn-trampolines.patch b/4.6.2/gentoo/12_all_default-warn-trampolines.patch deleted file mode 100644 index a5606c5..0000000 --- a/4.6.2/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.2/gentoo/README.history b/4.6.2/gentoo/README.history index 89315dc..eb22240 100644 --- a/4.6.2/gentoo/README.history +++ b/4.6.2/gentoo/README.history @@ -1,5 +1,6 @@ 1.6 [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 diff --git a/4.6.3/gentoo/12_all_default-warn-trampolines.patch b/4.6.3/gentoo/12_all_default-warn-trampolines.patch deleted file mode 100644 index a5606c5..0000000 --- a/4.6.3/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.3/gentoo/README.history b/4.6.3/gentoo/README.history index bbaddfb..04665de 100644 --- a/4.6.3/gentoo/README.history +++ b/4.6.3/gentoo/README.history @@ -1,4 +1,5 @@ 1.14 [pending] + - 12_all_default-warn-trampolines.patch - 74_all_gcc46_cloog-dl.patch 1.13 19 Apr 2013 diff --git a/4.6.4/gentoo/12_all_default-warn-trampolines.patch b/4.6.4/gentoo/12_all_default-warn-trampolines.patch deleted file mode 100644 index 8f6f798..0000000 --- a/4.6.4/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 -@@ -623,7 +623,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 -@@ -3687,6 +3687,8 @@ option was used. - and thus requires the stack to be made executable in order for - the program to work properly. - -+ This option is enabled by default in Gentoo. -+ - `-Wfloat-equal' - Warn if floating point values are used in equality comparisons. - diff --git a/4.6.4/gentoo/README.history b/4.6.4/gentoo/README.history index 36623c3..400ffe7 100644 --- a/4.6.4/gentoo/README.history +++ b/4.6.4/gentoo/README.history @@ -1,4 +1,5 @@ 1.4 [pending] + - 12_all_default-warn-trampolines.patch + 34_all_libjava-classpath-locale-sort.patch 1.3 27 May 2015 |