https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120948

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to huyubiao from comment #2)
> I believe such non-compliant code makes maintenance troubleshooting
> significantly harder. Could we implement a compiler warning when x=0
> potentially occurs?

No.  That is the most common case that the compiler doesn't know if divisor can
or can't be 0.  Such warning would trigger all the time.

Reply via email to