aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorDaniel Berlin <dan@cgsoftware.com>2001-06-26 19:24:09 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2001-06-26 19:24:09 +0000
commit639bc36cede2c6e922f869d730a072909014112e (patch)
tree9dffb7e068ecc3a9e9239cd115597cccc31dd855 /gcc/toplev.c
parent9596ddd67ef7106cc0d6eac0bcfa8fe24b73f50d (diff)
downloadgcc-639bc36cede2c6e922f869d730a072909014112e.zip
gcc-639bc36cede2c6e922f869d730a072909014112e.tar.gz
gcc-639bc36cede2c6e922f869d730a072909014112e.tar.bz2
toplev.c (display_help): Fix param thinko.
2001-06-26 Daniel Berlin <dan@cgsoftware.com> * toplev.c (display_help): Fix param thinko. * Makefile.in: Fix params.h dependencies. From-SVN: r43589
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 670cd97..f53137e 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3880,7 +3880,7 @@ display_help ()
printf (_(" -O[number] Set optimisation level to [number]\n"));
printf (_(" -Os Optimise for space rather than speed\n"));
- for (i = sizeof (compiler_params); i--;)
+ for (i = LAST_PARAM; i--;)
{
const char *description = compiler_params[i].help;
const int length = 21-strlen(compiler_params[i].option);