public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7544] d: Don't set default flag_complex_method.
@ 2021-03-06 17:33 Iain Buclaw
  0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2021-03-06 17:33 UTC (permalink / raw)
  To: gcc-cvs

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-06 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06 17:33 [gcc r11-7544] d: Don't set default flag_complex_method Iain Buclaw

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).