https://gcc.gnu.org/g:982d10b74b50f28fd5dbd63876b685f484a6fec2
commit r15-5600-g982d10b74b50f28fd5dbd63876b685f484a6fec2 Author: Georg-Johann Lay <a...@gjlay.de> Date: Fri Nov 22 21:51:10 2024 +0100 AVR: Tabify avr-common.cc according to coding rules. gcc/ * common/config/avr/avr-common.cc: Tabify. Diff: --- gcc/common/config/avr/avr-common.cc | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/gcc/common/config/avr/avr-common.cc b/gcc/common/config/avr/avr-common.cc index c8f40fc2367a..2ff8cbf2cbc8 100644 --- a/gcc/common/config/avr/avr-common.cc +++ b/gcc/common/config/avr/avr-common.cc @@ -77,8 +77,8 @@ static const struct default_options avr_option_optimization_table[] = static bool avr_handle_option (struct gcc_options *opts, struct gcc_options*, - const struct cl_decoded_option *decoded, - location_t loc ATTRIBUTE_UNUSED) + const struct cl_decoded_option *decoded, + location_t loc ATTRIBUTE_UNUSED) { int value = decoded->value; @@ -86,22 +86,22 @@ avr_handle_option (struct gcc_options *opts, struct gcc_options*, { case OPT_mdouble_: if (value == 64) - { + { #if !defined (HAVE_DOUBLE64) - error_at (loc, "option %<-mdouble=64%> is only available if " - "configured %<--with-double={64|64,32|32,64}%>"); + error_at (loc, "option %<-mdouble=64%> is only available if " + "configured %<--with-double={64|64,32|32,64}%>"); #endif - opts->x_avropt_long_double = 64; - } + opts->x_avropt_long_double = 64; + } else if (value == 32) - { + { #if !defined (HAVE_DOUBLE32) - error_at (loc, "option %<-mdouble=32%> is only available if " - "configured %<--with-double={32|32,64|64,32}%>"); + error_at (loc, "option %<-mdouble=32%> is only available if " + "configured %<--with-double={32|32,64|64,32}%>"); #endif - } + } else - gcc_unreachable(); + gcc_unreachable(); #if defined (HAVE_LONG_DOUBLE_IS_DOUBLE) opts->x_avropt_long_double = value; @@ -110,26 +110,26 @@ avr_handle_option (struct gcc_options *opts, struct gcc_options*, case OPT_mlong_double_: if (value == 64) - { + { #if !defined (HAVE_LONG_DOUBLE64) - error_at (loc, "option %<-mlong-double=64%> is only available if " - "configured %<--with-long-double={64|64,32|32,64}%>, " - "or %<--with-long-double=double%> together with " - "%<--with-double={64|64,32|32,64}%>"); + error_at (loc, "option %<-mlong-double=64%> is only available if " + "configured %<--with-long-double={64|64,32|32,64}%>, " + "or %<--with-long-double=double%> together with " + "%<--with-double={64|64,32|32,64}%>"); #endif - } + } else if (value == 32) - { + { #if !defined (HAVE_LONG_DOUBLE32) - error_at (loc, "option %<-mlong-double=32%> is only available if " - "configured %<--with-long-double={32|32,64|64,32}%>, " - "or %<--with-long-double=double%> together with " - "%<--with-double={32|32,64|64,32}%>"); + error_at (loc, "option %<-mlong-double=32%> is only available if " + "configured %<--with-long-double={32|32,64|64,32}%>, " + "or %<--with-long-double=double%> together with " + "%<--with-double={32|32,64|64,32}%>"); #endif - opts->x_avropt_double = 32; - } + opts->x_avropt_double = 32; + } else - gcc_unreachable(); + gcc_unreachable(); #if defined (HAVE_LONG_DOUBLE_IS_DOUBLE) opts->x_avropt_double = value;