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

--- Comment #2 from Thomas Henlich <thenlich at users dot sourceforge.net> 
2011-05-12 17:34:27 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > 
> > Bug 1:
> > The program does not compile without -fno-range-check.
> > 
> 
> Can you explain why you think that this is a bug?

I consider it a bug because the result of the expressions FRACTION(Infinity)
and FRACTION(NaN) is defined by the Fortran standard, so the compiler should
not throw an error on simplifying them.

Whether this really is a bug or not depends on whether one thinks that a
standard-compliant Fortran program should compile without requiring special
options (I do).

Reply via email to