From: Iain Buclaw Date: Sat, 6 Mar 2021 17:18:44 +0000 (+0100) Subject: d: Don't set default flag_complex_method. X-Git-Tag: upstream/12.2.0~9410 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b41f1c5af8bdba7ec7b7265c4ed000674310122;p=platform%2Fupstream%2Fgcc.git 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. --- diff --git a/gcc/d/d-lang.cc b/gcc/d/d-lang.cc index 1a51c5e..0720cba 100644 --- a/gcc/d/d-lang.cc +++ b/gcc/d/d-lang.cc @@ -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;