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