Fix non power-of-two Storable.alignment in Capi_Ctype tests
Alignments passed to alloca and friends must be a power of two for the code in allocatePinned to work properly. Commit 41230e26 ("Zero out pinned block alignment slop when profiling") introduced an ASSERT for this but this test was still violating it.
Showing
- testsuite/tests/ffi/should_run/Capi_Ctype_001.hsc 1 addition, 1 deletiontestsuite/tests/ffi/should_run/Capi_Ctype_001.hsc
- testsuite/tests/ffi/should_run/Capi_Ctype_A_001.hsc 1 addition, 1 deletiontestsuite/tests/ffi/should_run/Capi_Ctype_A_001.hsc
- testsuite/tests/ffi/should_run/Capi_Ctype_A_002.hsc 1 addition, 1 deletiontestsuite/tests/ffi/should_run/Capi_Ctype_A_002.hsc
Please register or sign in to comment