... evidently I attached the wrong p ;) This should be right one.

Paolo.
Index: c-common.c
===================================================================
--- c-common.c  (revision 205343)
+++ c-common.c  (working copy)
@@ -4579,10 +4579,11 @@ c_common_truthvalue_conversion (location_t locatio
        if (decl_with_nonnull_addr_p (inner))
          {
            /* Common Ada/Pascal programmer's mistake.  */
-           warning_at (location,
-                       OPT_Waddress,
-                       "the address of %qD will always evaluate as %<true%>",
-                       inner);
+           if (c_inhibit_evaluation_warnings == 0)
+             warning_at (location,
+                         OPT_Waddress,
+                         "the address of %qD will always evaluate as %<true%>",
+                         inner);
            return truthvalue_true_node;
          }
        break;

Reply via email to