Fix test failure on some systems

Broken ass compilers strike again
This commit is contained in:
Kovid Goyal
2024-02-11 14:15:57 +05:30
parent 41ec46d5bb
commit eb1e3b33b4

View File

@@ -296,7 +296,7 @@ FUNC(zero_last_n_bytes)(integer_t vec, const integer_t index, char n) {
}
#define find_match(haystack, sz, get_test_vec) { \
zero_upper(); \
/* zero_upper(); this is disabled as some buggy compilers re-order instructions causing the test result vec to be zero after the test */\
const uint8_t* limit = haystack + sz; \
integer_t chunk; int n; \
\