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

Martin Sebor <msebor at gcc dot gnu.org> changed:

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

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Paul, the way I prefer to look at it is that the C standard says that constant
expressions are evaluated during translation and when the evaluation overflows
the behavior is undefined.  The program is incorrect and the warning helps find
the bug.  That GCC happens to handle it gracefully is a bonus.

Reply via email to