[Bug tree-optimization/34703] (Unsafe) optization of IF(A>B/C) as IF(A*C>B)
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 7 17:26:00 GMT 2008
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-01-07 16:57 -------
-ffinite-math-only is not enoug - that only assumes input operands are never
Inf or Nan and results of operations in the source are not Inf or Nan. But
as you say you cannot guarantee that RADIUS * 100.0 does not overflow, so
this transformation is invalid.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34703
More information about the Gcc-bugs
mailing list