d: Don't set default flag_complex_method.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 6 Mar 2021 17:18:44 +0000 (18:18 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 6 Mar 2021 17:32:28 +0000 (18:32 +0100)
D doesn't need C99-like requirements for complex multiply and divide,
the default set by common.opt is sufficient enough.

gcc/d/ChangeLog:

* d-lang.cc (d_init_options_struct): Don't set default
flag_complex_method.

gcc/d/d-lang.cc

index 1a51c5e..0720cba 100644 (file)
@@ -342,9 +342,6 @@ d_init_options_struct (gcc_options *opts)
   /* GCC options.  */
   opts->x_flag_exceptions = 1;
 
-  /* Avoid range issues for complex multiply and divide.  */
-  opts->x_flag_complex_method = 2;
-
   /* Unlike C, there is no global `errno' variable.  */
   opts->x_flag_errno_math = 0;
   opts->frontend_set_flag_errno_math = true;