d: Don't set default flag_complex_method.

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.
This commit is contained in:
Iain Buclaw 2021-03-06 18:18:44 +01:00
parent 73a9216b8a
commit 5b41f1c5af

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