summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-26 19:24:09 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-26 19:24:09 +0000
commit84730536194e153447e4bc05013a791e5889b8ac (patch)
tree9dffb7e068ecc3a9e9239cd115597cccc31dd855 /gcc/toplev.c
parentb165d8b0e02c7a758c08dda04c2e5344a3e822f4 (diff)
downloadgcc-84730536194e153447e4bc05013a791e5889b8ac.tar.gz
2001-06-26 Daniel Berlin <dan@cgsoftware.com>
* toplev.c (display_help): Fix param thinko. * Makefile.in: Fix params.h dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43589 138bc75d-0d04-0410-961f-82ee72b054a4
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 670cd9748ab..f53137e7f7d 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);