aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-03-06 18:18:44 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-03-06 18:32:28 +0100
commit5b41f1c5af8bdba7ec7b7265c4ed000674310122 (patch)
treefc8f930ff379ca615f7ba7180c9d39da2e196f44 /gcc
parent73a9216b8a47889234c94e3aaec193391ee6604d (diff)
downloadgcc-5b41f1c5af8bdba7ec7b7265c4ed000674310122.zip
gcc-5b41f1c5af8bdba7ec7b7265c4ed000674310122.tar.gz
gcc-5b41f1c5af8bdba7ec7b7265c4ed000674310122.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/d/d-lang.cc3
1 files changed, 0 insertions, 3 deletions
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;