aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-02-24 01:24:17 -0800
committerRichard Henderson <rth@gcc.gnu.org>2005-02-24 01:24:17 -0800
commitc74636694956af8e2fe74bbeddf72891b9b5cfb1 (patch)
tree42cf31816d33415d61bb35885b0514d50dcdc5b0 /gcc/opts.c
parentd962e37d43ae054bc723d1940f77118eeb168ac3 (diff)
downloadgcc-c74636694956af8e2fe74bbeddf72891b9b5cfb1.zip
gcc-c74636694956af8e2fe74bbeddf72891b9b5cfb1.tar.gz
gcc-c74636694956af8e2fe74bbeddf72891b9b5cfb1.tar.bz2
re PR middle-end/18902 (Naive (default) complex division algorithm)
PR middle-end/18902 * c-opts.c (c_common_post_options): Set flag_complex_method to 2 for c99. * common.opt (fcx-limited-range): New. * opts.c (set_fast_math_flags): Set flag_cx_limited_range. * toplev.c (flag_complex_method): Initialize to 1. (process_options): Set flag_complex_method to 0 if flag_cx_limited_range. * doc/invoke.texi (-fcx-limited-range): New. From-SVN: r95493
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 8af263a..fcb8f6d 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1097,6 +1097,7 @@ set_fast_math_flags (int set)
{
flag_signaling_nans = 0;
flag_rounding_math = 0;
+ flag_cx_limited_range = 1;
}
}