[Bug preprocessor/70707] INT_MAX used before it is defined
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 18 20:49:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70707
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |preprocessor
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is no bug here. The prepocessor works this way.
That is the INT_MIN is replaced with (-INT_MAX - 1) and then INT_MAX is
replaced with 2147483647 when the usage of INT_MIN happens.
More information about the Gcc-bugs
mailing list