aboutsummaryrefslogtreecommitdiff
path: root/4.8.0
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-04-02 01:49:32 +0000
committerRyan Hill <rhill@gentoo.org>2013-04-02 01:49:32 +0000
commit59892c1ab264abfab8b43885d5b75b9a6a264cc6 (patch)
tree3a3d574173ec11a4e039d2737b1f5eef887a1afb /4.8.0
parentAdd bug references and scrub header. (diff)
downloadgcc-patches-59892c1ab264abfab8b43885d5b75b9a6a264cc6.tar.gz
gcc-patches-59892c1ab264abfab8b43885d5b75b9a6a264cc6.tar.bz2
gcc-patches-59892c1ab264abfab8b43885d5b75b9a6a264cc6.zip
Fix bootstrap (and stop trusting Debian).
Diffstat (limited to '4.8.0')
-rw-r--r--4.8.0/gentoo/11_all_default-warn-format-security.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/4.8.0/gentoo/11_all_default-warn-format-security.patch b/4.8.0/gentoo/11_all_default-warn-format-security.patch
index a0c84a6..2314699 100644
--- a/4.8.0/gentoo/11_all_default-warn-format-security.patch
+++ b/4.8.0/gentoo/11_all_default-warn-format-security.patch
@@ -1,4 +1,4 @@
-Enable -Wformat-security by default.
+Enable -Wformat and -Wformat-security by default.
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -11,6 +11,15 @@ Enable -Wformat-security by default.
Warn about possible security problems with format functions
Wformat-y2k
+@@ -412,7 +412,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_length) Warning LangEnabledBy(C ObjC C++
+ Warn about zero-length formats
+
+ Wformat=
+-C ObjC C++ ObjC++ Joined RejectNegative UInteger Var(warn_format) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall, 1, 0)
++C ObjC C++ ObjC++ Joined RejectNegative UInteger Var(warn_format) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall, 1, 0)
+ Warn about printf/scanf/strftime/strfmon format string anomalies
+
+ Wignored-qualifiers
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3362,6 +3362,11 @@ currently a subset of what @option{-Wformat-nonliteral} warns about, but