Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
4.1.2, 4.1.3, 4.2.0
-
None
-
unknown
-
Incorrect Behavior
Description
The LIMITS.cpp config test tries to determine exact-width integer typese (the equivalent of things such as int32_t) but it fails to consider the fact that all integer types other than unsigned char may have padding bits that contribute to their size but not to their range (i.e., there may be two or more distinct bit patters that represent the same value, or bit patterns that do not correspond to any value at all). This is only an issue in theory since we know of no architecture with such a representation.