toplev.c (read_integral_parameter): Use "argument" in error message to distinguish...
authorPhil Edwards <pme@gcc.gnu.org>
Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)
2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* toplev.c (read_integral_parameter):  Use "argument" in error
message to distinguish it from actual invalid options.

From-SVN: r66097

gcc/ChangeLog
gcc/toplev.c

index f3d9bc68548583c48028b13cac50525b661f0996..628695ba8c3b7d7040349e74f0cdc0824d4847a0 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
+
+       * toplev.c (read_integral_parameter):  Use "argument" in error
+       message to distinguish it from actual invalid options.
+
 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
index 94720ee41327080e4fe1f2eae5a94f4baf8fc63b..f0f25db1f5bfd584767f921f2a7b5c09fd97d6e3 100644 (file)
@@ -1673,7 +1673,7 @@ read_integral_parameter (p, pname, defval)
   if (*endp != 0)
     {
       if (pname != 0)
-       error ("invalid option `%s'", pname);
+       error ("invalid option argument `%s'", pname);
       return defval;
     }