public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain Buclaw <ibuclaw@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-7544] d: Don't set default flag_complex_method. Date: Sat, 6 Mar 2021 17:33:14 +0000 (GMT) [thread overview] Message-ID: <20210306173314.D0C2F3851C1D@sourceware.org> (raw) https://gcc.gnu.org/g:5b41f1c5af8bdba7ec7b7265c4ed000674310122 commit r11-7544-g5b41f1c5af8bdba7ec7b7265c4ed000674310122 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Sat Mar 6 18:18:44 2021 +0100 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: --- gcc/d/d-lang.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/d/d-lang.cc b/gcc/d/d-lang.cc index 1a51c5e4b7c..0720cba1340 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;
reply other threads:[~2021-03-06 17:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210306173314.D0C2F3851C1D@sourceware.org \ --to=ibuclaw@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).