summaryrefslogtreecommitdiffstats
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-04 12:11:11 +0000
committerrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-04 12:11:11 +0000
commit49d060d774950223dc4acbf852f21652095db37a (patch)
tree67cecf461cc930540853bd8eb0d4f19b3b21b0ce /gcc/common.opt
parent4076554cd7837c65c54a7b0508ef64fb3271a369 (diff)
downloadppe42-gcc-49d060d774950223dc4acbf852f21652095db37a.tar.gz
ppe42-gcc-49d060d774950223dc4acbf852f21652095db37a.zip
Add new fp flags: -fassociative-math and -freciprocal-math
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128075 138bc75d-0d04-0410-961f-82ee72b054a4
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 d9894a98844..27b2b63803c 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"
OpenPOWER on IntegriCloud