OSDN Git Service

* common.opt (-Wattributes): New. Default true.
[pf3gnuchains/gcc-fork.git] / gcc / config / m32r / m32r.c
index 6e08203..c27b244 100644 (file)
@@ -387,7 +387,7 @@ m32r_handle_model_attribute (tree *node ATTRIBUTE_UNUSED, tree name,
       && arg != large_ident1
       && arg != large_ident2)
     {
-      warning (0, "invalid argument of %qs attribute",
+      warning (OPT_Wattributes, "invalid argument of %qs attribute",
               IDENTIFIER_POINTER (name));
       *no_add_attrs = true;
     }