[Bug fortran/19904] Division by zero leads to error

sgk at troutmask dot apl dot washington dot edu gcc-bugzilla@gcc.gnu.org
Fri Feb 11 22:48:00 GMT 2005


------- Additional Comments From sgk at troutmask dot apl dot washington dot edu  2005-02-11 17:44 -------
You are probably right that my example does not conform to the standard,
because I don't use equilance() and I whipped up the example in a minute
without inspection of its conformance.

Anyway, if you want to make gfortran accept your code, constant folding
is done in arith.c.  I suggest that you add a -fallow_inf_nan option
to gfortran and make the appropriate modifications to arith.c

-- 


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



More information about the Gcc-bugs mailing list