]> git.ipfire.org Git - thirdparty/gcc.git/commit
opts.c (print_specific_help): Fix off-by-one compare in assertion check.
authorGary Funck <gary@intrepid.com>
Fri, 2 Sep 2011 21:19:17 +0000 (21:19 +0000)
committerGary Funck <gfunck@gcc.gnu.org>
Fri, 2 Sep 2011 21:19:17 +0000 (21:19 +0000)
commit58265ea647cc3d461d5ecb0b6f7ee7a20adf8be1
treef7d31cb76ec49cf7d2ed94711ee6111092b65896
parentdde460d482fcf150d17b0baa2bc0b97714ec6365
opts.c (print_specific_help): Fix off-by-one compare in assertion check.

2011-09-02  Gary Funck <gary@intrepid.com>

* opts.c (print_specific_help): Fix off-by-one compare in
assertion check.
* opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER,
CL_TARGET, CL_COMMON, CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED):
Increase by +5 to allow for more languages.
* optc-gen.awk: Generate #if that ensures that the number of
languages is within the implementation-defined limit.

From-SVN: r178491
gcc/ChangeLog
gcc/optc-gen.awk
gcc/opts.c
gcc/opts.h