This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19310] unnecessary error for overflowing results
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2006 00:05:30 -0000
- Subject: [Bug fortran/19310] unnecessary error for overflowing results
- References: <bug-19310-9515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kargl at gcc dot gnu dot org 2006-06-08 00:05 -------
(In reply to comment #2)
> I would like to work on this one. The range check is only looking for ARITH_OK
> when it could also see ARITH_UNDERFLOW or ARITH_OVERFLOW.
>
Jerry,
There is another PR about allowing "real, parameter :: inf = 1. / 0.".
In that PR it was suggested to add a -fallow-inf-nan option. I think
you should look into this route for this PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19310