--- Compress-LZF/lzf_c_best.c 2015/06/29 23:51:28 1.3 +++ Compress-LZF/lzf_c_best.c 2019/03/03 11:33:55 1.4 @@ -85,6 +85,8 @@ lit++; *op++ = *ip++; + &state; /* avoid undefined behaviour by forcing non-register class, 6.3.2.1p2 */ + while (ip < in_end - 2) { int best_l = 0;