From f0defe58a55705a34cb07a4d12667c2b6008ed11 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Selvaraj Date: Thu, 11 Apr 2013 09:07:44 +0000 Subject: [PATCH] opts.c (common_handle_option): Fix formatting and add FALLTHRU comment. * opts.c (common_handle_option): Fix formatting and add FALLTHRU comment. From-SVN: r197743 --- gcc/ChangeLog | 5 +++++ gcc/opts.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24a179275c5..f9ef2302c99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-04-11 Senthil Kumar Selvaraj + + * opts.c (common_handle_option): Fix formatting and add FALLTHRU + comment. + 2013-04-11 James Greenhalgh * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix diff --git a/gcc/opts.c b/gcc/opts.c index f96ed168459..5f0c49f554a 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -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); -- 2.30.2