http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60181

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think that it needs to be decided on a case-by-case basis whether the
runtime complex division routine is "precise enough".  But yes, you
generally cannot expect constant folding and runtime execution to produce
the exact same result.  This is FP after all ...

(I would expect it for operations that are specified to be rounded correctly
to 0.5ulp precision though)

Note that the goal we have instead is that cross-compiling from all hosts
produces the same constant folding results for a target (code generation
doesn't depend on the host).

Reply via email to