]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c.opt (Wsizeof-pointer-memaccess): Describe option.
authorMarek Polacek <polacek@redhat.com>
Fri, 2 May 2014 18:07:40 +0000 (18:07 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 2 May 2014 18:07:40 +0000 (18:07 +0000)
From-SVN: r210011

gcc/c-family/ChangeLog
gcc/c-family/c.opt

index fddfcd8c2f04af69010c38dedb3e68b2bf9fb155..3c9732395d361e2852980c76c95b3219e2e4c55e 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-02  Marek Polacek  <polacek@redhat.com>
+
+       * c.opt (Wsizeof-pointer-memaccess): Describe option.
+
 2014-05-01  Marek Polacek  <polacek@redhat.com>
 
        PR c/43245
index 1bbb81c8425b3bde4b0f617a55bce0d2c4cb839a..7aa9e23c10e4977ed4d7e37f5948557f1734d79f 100644 (file)
@@ -516,6 +516,7 @@ Warn about missing fields in struct initializers
 
 Wsizeof-pointer-memaccess
 C ObjC C++ ObjC++ Var(warn_sizeof_pointer_memaccess) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall)
+Warn about suspicious length parameters to certain string functions if the argument uses sizeof
 
 Wsuggest-attribute=format
 C ObjC C++ ObjC++ Var(warn_suggest_attribute_format) Warning