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!