From ad0eb2375d6f0d8325af4a550b7b514843740121 Mon Sep 17 00:00:00 2001 From: "Magnus Granberg (Zorry)" Date: Wed, 5 May 2010 13:28:57 +0200 Subject: Added the doc to the warntrampolines patch --- upstream/warntrampolins/README | 2 +- upstream/warntrampolins/gcc_doc_invoke.texi.patch | 25 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 upstream/warntrampolins/gcc_doc_invoke.texi.patch diff --git a/upstream/warntrampolins/README b/upstream/warntrampolins/README index 137dfbd..a7b9afa 100644 --- a/upstream/warntrampolins/README +++ b/upstream/warntrampolins/README @@ -7,5 +7,5 @@ Ported to GCC 4.5.x /Zorry -Missing text in gcc/doc/invoke.texi +gcc/doc/invoke.texi need more work i think. /Zorry \ No newline at end of file diff --git a/upstream/warntrampolins/gcc_doc_invoke.texi.patch b/upstream/warntrampolins/gcc_doc_invoke.texi.patch new file mode 100644 index 0000000..196c51c --- /dev/null +++ b/upstream/warntrampolins/gcc_doc_invoke.texi.patch @@ -0,0 +1,25 @@ +--- gcc/doc/invoke.texi 2010-04-06 16:02:22.000000000 +0200 ++++ gcc/doc/invoke.texi 2010-05-05 13:23:24.000000000 +0200 +@@ -258,8 +258,8 @@ + -Wstrict-aliasing -Wstrict-aliasing=n @gol + -Wstrict-overflow -Wstrict-overflow=@var{n} @gol + -Wswitch -Wswitch-default -Wswitch-enum -Wsync-nand @gol +--Wsystem-headers -Wtrigraphs -Wtype-limits -Wundef -Wuninitialized @gol +--Wunknown-pragmas -Wno-pragmas @gol ++-Wsystem-headers -Wtrampolines -Wtrigraphs -Wtype-limits -Wundef @gol ++-Wuninitialized -Wunknown-pragmas -Wno-pragmas @gol + -Wunsuffixed-float-constants -Wunused -Wunused-function @gol + -Wunused-label -Wunused-parameter -Wno-unused-result -Wunused-value -Wunused-variable @gol + -Wvariadic-macros -Wvla @gol +@@ -3603,6 +3603,11 @@ + 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 whenever a trampoline is generated ++ + @item -Wfloat-equal + @opindex Wfloat-equal + @opindex Wno-float-equal -- cgit v1.2.3-65-gdbad