summaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-13 19:30:33 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-13 19:30:33 +0000
commit25e06a2bb9424a34e0eea4af7532b85c1453aa25 (patch)
tree0b182e58aca9cb1e599aa399f627ddea532431a7 /gcc/c-opts.c
parent429b43badbc9eb936f960ebdfdf48f601a69a0a7 (diff)
downloadgcc-25e06a2bb9424a34e0eea4af7532b85c1453aa25.tar.gz
opts.c (c_common_init_options): Extra braces needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 2be99714775..64369a6a835 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -496,12 +496,14 @@ c_common_init_options (lang)
qsort (cl_options, N_OPTS, sizeof (struct cl_option), opt_comp);
#endif
#if ENABLE_CHECKING
+ {
size_t i;
for (i = 1; i < N_OPTS; i++)
if (strcmp (cl_options[i - 1].opt_text, cl_options[i].opt_text) >= 0)
error ("options array incorrectly sorted: %s is before %s",
cl_options[i - 1].opt_text, cl_options[i].opt_text);
+ }
#endif
c_language = lang;