diff options
-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); |