opts.c (common_handle_option): Fix formatting and add FALLTHRU comment.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Thu, 11 Apr 2013 09:07:44 +0000 (09:07 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 11 Apr 2013 09:07:44 +0000 (11:07 +0200)
* opts.c (common_handle_option): Fix formatting and add FALLTHRU
comment.

From-SVN: r197743

gcc/ChangeLog
gcc/opts.c

index 24a179275c5e098b743f93ed1ba37fd5e3d161f1..f9ef2302c9929c21b666fe0cf362e4cddfe51c0d 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-11  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * opts.c (common_handle_option): Fix formatting and add FALLTHRU
+       comment.
+
 2013-04-11  James Greenhalgh  <james.greenhalgh@arm.com>
 
        * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix
index f96ed1684599ebc927941fe408a2642b7e9c07dc..5f0c49f554a614dc7569311676af47b2a384e468 100644 (file)
@@ -1700,7 +1700,7 @@ common_handle_option (struct gcc_options *opts,
       break;
 
     case OPT_gdwarf:
-      if (arg && strlen(arg) != 0)
+      if (arg && strlen (arg) != 0)
         {
           error_at (loc, "%<-gdwarf%s%> is ambiguous; "
                     "use %<-gdwarf-%s%> for DWARF version "
@@ -1708,9 +1708,9 @@ common_handle_option (struct gcc_options *opts,
           break;
         }
       else
-        {
-          value = opts->x_dwarf_version;
-        }
+        value = opts->x_dwarf_version;
+      
+      /* FALLTHRU */
     case OPT_gdwarf_:
       if (value < 2 || value > 4)
        error_at (loc, "dwarf version %d is not supported", value);