]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/common.opt
PR c/69835
[thirdparty/gcc.git] / gcc / common.opt
index 520fa9c9dd57701d4707a4bd746f0d384164a9eb..3c3669ad271de723d8d7143a94d8fa110f1238a4 100644 (file)
@@ -616,6 +616,10 @@ Wlarger-than=
 Common RejectNegative Joined UInteger Warning
 -Wlarger-than=<number> Warn if an object is larger than <number> bytes.
 
+Wnonnull-compare
+Var(warn_nonnull_compare) Warning
+Warn if comparing pointer parameter with nonnull attribute with NULL.
+
 Wnull-dereference
 Common Var(warn_null_dereference) Warning
 Warn if dereferencing a NULL pointer may lead to erroneous or undefined behavior.