Re: jit/cache tests: Avoid test failure on hppa CPUs

2024-01-10 Thread Bruno Haible
Yesterday I did: > (structptr_to_funcptr, funcptr_to_structptr): New functions/macros. > (xcopy_structptr): Renamed from xcopy_funcptr. Mark as inline. > (COPY_FUNCPTR, CODE): Use structptr_to_funcptr, funcptr_to_structptr. This produces gcc -Wstrict-aliasing warnings on Linux/po

jit/cache tests: Avoid test failure on hppa CPUs

2024-01-09 Thread Bruno Haible
This patch fixes a test failure on Linux/hppa and NetBSD/hppa. The cause of the failure was that on 32-bit hppa platforms, a function pointer is not merely a 'struct func *', but a 'struct func *' + 2. 2024-01-09 Bruno Haible jit/cache tests: Avoid test