aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 788c2ce..6720af1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1076,6 +1076,7 @@ set_fast_math_flags (int set)
flag_trapping_math = !set;
flag_unsafe_math_optimizations = set;
flag_finite_math_only = set;
+ flag_signed_zeros = !set;
flag_errno_math = !set;
if (set)
{
@@ -1092,6 +1093,7 @@ fast_math_flags_set_p (void)
return (!flag_trapping_math
&& flag_unsafe_math_optimizations
&& flag_finite_math_only
+ && !flag_signed_zeros
&& !flag_errno_math);
}