]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
opts.c (c_common_init_options): Extra braces needed.
authorNeil Booth <neil@daikokuya.co.uk>
Tue, 13 Aug 2002 19:30:33 +0000 (19:30 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 13 Aug 2002 19:30:33 +0000 (19:30 +0000)
From-SVN: r56262

gcc/ChangeLog
gcc/c-opts.c

index cd38b3c950408ca5eb66af45d928f9e836309ff6..ea1be68c771debc958dab7636afa9acb3a6601ba 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-opts.c (c_common_init_options): Extra braces needed.
+
 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
 
        * sh.c (sh_init_builtins): Add PARAMS to declaration.
index 2be997147756080ebc659e66d0d1efb4dd15393b..64369a6a8359f15c21dfcfa678c26f100bbeb9cb 100644 (file)
@@ -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;