[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 14 14:57:37 GMT 2020


Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
                 CC|                            |wschmidt at gcc dot gnu.org

--- Comment #22 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Breaking legitimate code, even if "borderline," does not seem right to me.  
Zero division is generally a runtime exception because of such cases.

You write code for a general case, then later you discover "oh, well, we could
make this variable zero for our specific usage," and now the compiler throws a
fit?  Seems like this is warning-level stuff.

More information about the Gcc-bugs mailing list