Hi Max, Max Filippov wrote,
Check that the size passed to memalign() is not greater than PTRDIFF_MAX before adjusting it, otherwise it may wrap around in the adjustment. This fixes gcc testsuite test gcc.dg/torture/pr60092.c
Thanks for the patch. I added errno.h include file, which was needed for me to compile successfully.
Pushed with this change.
best regards Waldemar