AVR: Tabify avr-common.cc according to coding rules.

gcc/
	* common/config/avr/avr-common.cc: Tabify.
This commit is contained in:
Georg-Johann Lay 2024-11-22 21:51:10 +01:00
parent 939362411d
commit 982d10b74b

View File

@ -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;