------- Comment #16 from ghazi at gcc dot gnu dot org 2009-12-18 17:16 ------- (In reply to comment #15) > Now that MPC is required by gcc, I'll take a look > at making gfortran give a consistent result when > comparing its constant folding with generated code.
BTW, I put in some special-case code in arith.c:gfc_arith_divide() to ensure we still got the old fortran divide behavior. You probably want to remove it if you're working on this PR. See note #3 from this patch: http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01368.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40318