aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorRevital Eres <eres@il.ibm.com>2007-09-04 12:11:11 +0000
committerRevital Eres <revitale@gcc.gnu.org>2007-09-04 12:11:11 +0000
commita1a826110720eda37c73f829daa4ee243ee953f5 (patch)
tree67cecf461cc930540853bd8eb0d4f19b3b21b0ce /gcc/common.opt
parentcea79118fa00faf811626e67209ca666468bc76f (diff)
downloadgcc-a1a826110720eda37c73f829daa4ee243ee953f5.zip
gcc-a1a826110720eda37c73f829daa4ee243ee953f5.tar.gz
gcc-a1a826110720eda37c73f829daa4ee243ee953f5.tar.bz2
Add new fp flags: -fassociative-math and -freciprocal-math
Co-Authored-By: R. Clint Whaley <whaley@cs.utsa.edu> Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r128075
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index d9894a9..27b2b63 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1125,6 +1125,15 @@ funsafe-loop-optimizations
Common Report Var(flag_unsafe_loop_optimizations) Optimization
Allow loop optimizations to assume that the loops behave in normal way
+fassociative-math
+Common Report Var(flag_associative_math)
+Allow optimization for floating-point arithmetic which may change the
+result of the operation due to rounding.
+
+freciprocal-math
+Common Report Var(flag_reciprocal_math)
+Same as -fassociative-math for expressions which include division.
+
; Nonzero means that unsafe floating-point math optimizations are allowed
; for the sake of speed. IEEE compliance is not guaranteed, and operations
; are allowed to assume that their arguments and results are "normal"