From 09e4ab56db3d8f23bcf41da17d1e6e96561e096a Mon Sep 17 00:00:00 2001 From: Phil Edwards Date: Sat, 26 Apr 2003 03:27:07 +0000 Subject: [PATCH] toplev.c (read_integral_parameter): Use "argument" in error message to distinguish it from actual invalid options. 2003-04-25 Phil Edwards * toplev.c (read_integral_parameter): Use "argument" in error message to distinguish it from actual invalid options. From-SVN: r66097 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f3d9bc68548..628695ba8c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-04-25 Phil Edwards + + * toplev.c (read_integral_parameter): Use "argument" in error + message to distinguish it from actual invalid options. + 2003-04-25 Bob Wilson * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous diff --git a/gcc/toplev.c b/gcc/toplev.c index 94720ee4132..f0f25db1f5b 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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; } -- 2.30.2