]> Savannah Git Hosting - gnulib.git/commit
jit/cache tests: Fix for powerpc*, ia64, hppa* CPUs.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Jan 2024 21:48:46 +0000 (22:48 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 08:28:36 +0000 (09:28 +0100)
commitf99f803290a9472c1ba5387183ae4823c0590111
tree4bcda53bedd5c826c5e4faf8d78e2dbff9abfe6b
parent87e7b50c8e322993efe93d56858935a5dbafa277
jit/cache tests: Fix for powerpc*, ia64, hppa* CPUs.

* modules/jit/cache-tests (Depends-on): Add xalloc.
* tests/jit/test-cache.c: Include xalloc.h.
(FUNCPTR_POINTS_TO_CODE, COPY_FUNCPTR): New macros.
(xcopy_funcptr): New function.
(main): Create a copy of the function pointer return1, so as not to
destructively modify return1. Fix memcpy argument.
ChangeLog
modules/jit/cache-tests
tests/jit/test-cache.c