Don't override -ffp-contract=fast if -funsafe-math-optimizations
From-SVN: r208474
This commit is contained in:
parent
747425d0e3
commit
75b107f594
@ -1,3 +1,8 @@
|
||||
2014-03-11 Ian Bolton <ian.bolton@arm.com>
|
||||
|
||||
* c-opts.c (c_common_post_options): Don't override
|
||||
-ffp-contract=fast if unsafe-math-optimizations is on.
|
||||
|
||||
2014-03-08 Paulo Matos <paulo@matos-sorge.com>
|
||||
|
||||
* c.opt: Enable LTO FE for fshort-double.
|
||||
|
@ -834,7 +834,8 @@ c_common_post_options (const char **pfilename)
|
||||
if (flag_iso
|
||||
&& !c_dialect_cxx ()
|
||||
&& (global_options_set.x_flag_fp_contract_mode
|
||||
== (enum fp_contract_mode) 0))
|
||||
== (enum fp_contract_mode) 0)
|
||||
&& flag_unsafe_math_optimizations == 0)
|
||||
flag_fp_contract_mode = FP_CONTRACT_OFF;
|
||||
|
||||
/* By default we use C99 inline semantics in GNU99 or C99 mode. C99
|
||||
|
Loading…
x
Reference in New Issue
Block a user