This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]