[Bug c/59911] Improper warnings when expressing min int64_t as decimal literal.

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 22:59:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59911

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
To get rid of that warning, write the value using hex, that is
int64_t min_int64 = 0x8000000000000000;



More information about the Gcc-bugs mailing list