[Bug c/97884] INT_MIN falsely expanded to 64 bit

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 18 16:57:30 GMT 2020


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If you design your own programming language, you can define it whatever way you
want, but for C and C++ it is well defined how the compiler must behave in
these cases, that -2147483648 are two separate tokens, unary minus and an
integral constant.


More information about the Gcc-bugs mailing list