[Bug fortran/57628] spurious error: division by zero in if statement
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 16 07:22:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57628
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |kargl at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to Ryo Furue from comment #0)
> Dear gfortran maintainers,
>
> Division by zero causes error even when it's not executed:
But, it is evaluated at compile time, and so, you'll
get the error.
>
> If it's difficult to give a correct diagnosis, please demote this to a
> warning.
You are getting the correct diagnosis!
More information about the Gcc-bugs
mailing list