This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19904] Division by zero leads to error
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Feb 2005 17:44:04 -0000
- Subject: [Bug fortran/19904] Division by zero leads to error
- References: <20050211130530.19904.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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