#11647: Definition of INT64_MIN wrong --------------------------+------------------------------ Reporter: Timothy_Gu | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/Development Keywords: stdint | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------+------------------------------ Hi, the follow program exits with code 1 on x86_64 at least, although from the look of code x86 could be affected as well. {{{ #include <stdint.h> int main() { int64_t test = 5; if (test < INT64_MIN) return 1; return 0; } }}} A patch that fixes this issue is attached. This is a regression since 1d13a60901 (hrev48499). -- Ticket URL: <https://dev.haiku-os.org/ticket/11647> Haiku <https://dev.haiku-os.org> Haiku - the operating system.