diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2013-04-11 09:07:44 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-04-11 11:07:44 +0200 |
commit | f0defe58a55705a34cb07a4d12667c2b6008ed11 (patch) | |
tree | 61677bd422d1e52bef6043c27bee6e1383189a0f | |
parent | f06a1142fa0a3b361bcd9e4af5fbf84e78d75a37 (diff) | |
download | gcc-f0defe58a55705a34cb07a4d12667c2b6008ed11.zip gcc-f0defe58a55705a34cb07a4d12667c2b6008ed11.tar.gz gcc-f0defe58a55705a34cb07a4d12667c2b6008ed11.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/opts.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24a1792..f9ef230 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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); |