A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1108 ====================================================================== Reported By: nsz Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1108 Category: Base Definitions and Headers Type: Error Severity: Editorial Priority: normal Status: Resolved Name: Szabolcs Nagy Organization: musl libc User Reference: Section: limits.h Page Number: Line Number: Interp Status: --- Final Accepted Text: http://austingroupbugs.net/view.php?id=1108#c4041 Resolution: Accepted As Marked Fixed in Version: ====================================================================== Date Submitted: 2016-12-09 17:00 UTC Last Modified: 2018-07-11 21:10 UTC ====================================================================== Summary: LONG_MIN must be <= -2147483648 ======================================================================
---------------------------------------------------------------------- (0004050) cmsmith (reporter) - 2018-07-11 21:10 http://austingroupbugs.net/view.php?id=1108#c4050 ---------------------------------------------------------------------- These changes seem to invalidate compilers for use in Unix/POSIX which use trap representations for int, long, etc., variables. I may be missing something, but, at least in the 2016 specification, I didn't see anything that precluded that. I know POSIX uses int8_t, int16_t, int32_t, etc., but those can be implemented using other data types (perhaps of the same size of int or long) but don't have the ability to store invalid values. I am not sure when mrand48() and jrand48() changed form the 2016 spec that lists the range as being from -2^31 to +2^31. Issue History Date Modified Username Field Change ====================================================================== 2016-12-09 17:00 nsz New Issue 2016-12-09 17:00 nsz Name => Szabolcs Nagy 2016-12-09 17:00 nsz Organization => musl libc 2016-12-09 17:00 nsz Section => limits.h 2016-12-09 18:40 EdSchouten Note Added: 0003512 2016-12-09 22:25 nsz Note Added: 0003513 2018-06-07 16:10 geoffclare Note Added: 0004041 2018-06-07 16:11 geoffclare Interp Status => --- 2018-06-07 16:11 geoffclare Final Accepted Text => http://austingroupbugs.net/view.php?id=1108#c4041 2018-06-07 16:11 geoffclare Status New => Resolved 2018-06-07 16:11 geoffclare Resolution Open => Accepted As Marked 2018-06-07 16:11 geoffclare Tag Attached: issue8 2018-07-11 21:10 cmsmith Note Added: 0004050 ======================================================================