]> Savannah Git Hosting - gnulib.git/commit
stdint-tests: port to CHERI etc
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 07:46:53 +0000 (23:46 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 07:59:36 +0000 (23:59 -0800)
commit66fc257c46bdfcb3334f2e049cd4629e6e80aafc
tree59ac3a25af5d2c5b121ab0ba32245d6979b0c272
parent6dd1fe542a55b0621215cb5ebe5898a4be661862
stdint-tests: port to CHERI etc

* tests/test-stdint.c: Test intptr_t only if INTPTR_MAX is
defined, since the type is optional.  Similarly for uintptr_t.
If CHERI, don’t assume TYPE_MINIMUM and TYPE_MAXIMUM works on
intptr_t, and similarly for TYPE_MAXIMUM and uintptr_t.
ChangeLog
tests/test-stdint.c