+2015-02-27 Marek Polacek <polacek@redhat.com>
+
+ PR c/65040
+ * doc/invoke.texi: Update to reflect that -Wformat=2 doesn't enable
+ -Wformat-signedness anymore.
+
2015-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c: (s390_atomic_assign_expand_fenv): New
+2015-02-27 Marek Polacek <polacek@redhat.com>
+
+ PR c/65040
+ * c.opt (Wformat-signedness): Don't enable by -Wformat=2.
+
2015-02-27 Kai Tietz <ktietz@redhat.com>
PR c/35330
Warn about possible security problems with format functions
Wformat-signedness
-C ObjC C++ ObjC++ Var(warn_format_signedness) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0)
+C ObjC C++ ObjC++ Var(warn_format_signedness) Warning
Warn about sign differences with format functions
Wformat-y2k
@opindex Wformat=2
Enable @option{-Wformat} plus additional format checks. Currently
equivalent to @option{-Wformat -Wformat-nonliteral -Wformat-security
--Wformat-signedness -Wformat-y2k}.
+-Wformat-y2k}.
@item -Wformat-nonliteral
@opindex Wformat-nonliteral
+2015-02-27 Marek Polacek <polacek@redhat.com>
+
+ PR c/65040
+ * gcc.dg/pr65066.c: Use -Wformat -Wformat-signedness and not
+ -Wformat=2.
+
2015-02-27 Marek Polacek <polacek@redhat.com>
PR c/65228
/* PR c/65066 */
/* { dg-do compile } */
-/* { dg-options "-Wformat=2" } */
+/* { dg-options "-Wformat -Wformat-signedness" } */
extern int sscanf (const char *restrict, const char *restrict, ...);
int *a;