[libc-commits] [libc] [libc] Fix pthread_create_test for 32 bit systems (PR #66564)

Mikhail R. Gadelha via libc-commits libc-commits at lists.llvm.org
Fri Sep 22 06:55:45 PDT 2023


mikhailramalho wrote:

> Maybe replace with `3 * (SIZE_MAX / 4)` and `SIZE_MAX / 4` IIRC and the issue is the overflow?

alright, trying to set the guard size to `3 * (SIZE_MAX / 4)`  also fails in 32-bit systems.

https://github.com/llvm/llvm-project/pull/66564


More information about the libc-commits mailing list