[Bug c/21438] Warning about division by zero depends on lexical form

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 28 08:25:09 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
   Last reconfirmed|2005-12-18 01:45:12         |2021-9-28
      Known to fail|                            |

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #5)
> Subject: Bug 21438

The only thing this patch did was uniformed the code between the front-ends.

I am going to look into fix this once and for all.
GCC is the only compiler which warns for this case even.


More information about the Gcc-bugs mailing list