(store_parm_decls): Use pedwarn for "promoted arg doesn't
authorRichard Stallman <rms@gnu.org>
Mon, 29 Mar 1993 04:49:21 +0000 (04:49 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 29 Mar 1993 04:49:21 +0000 (04:49 +0000)
match prototype" warning.

From-SVN: r3908

gcc/c-decl.c

index 8be399963a9392ad69c7399c58e96e471c3a552b..15232db6232d32c673b3c48c16c3a2a886cd9f14 100644 (file)
@@ -6008,7 +6008,7 @@ store_parm_decls ()
 #endif
                      if (pedantic)
                        {
-                         warning ("promoted argument `%s' doesn't match prototype",
+                         pedwarn ("promoted argument `%s' doesn't match prototype",
                                   IDENTIFIER_POINTER (DECL_NAME (parm)));
                          warning_with_file_and_line
                            (current_function_prototype_file,