https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85744
Bug ID: 85744 Summary: Returning INT_FAST64_MIN become zero Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cerlane at nscc dot sg Target Milestone: --- When returning the value 0x8000000000000000LL from a function (return type int_fast64_t), the value becomes zero (0x0). Is this a feature to guard against underflowing? If so, how can I return 0x8000000000000000LL?