]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Avoid implementation-defined behavior in the RISC-V filter.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 17 Feb 2024 14:01:32 +0000 (16:01 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 17 Feb 2024 14:01:32 +0000 (16:01 +0200)
commitf1d6b88aefcced538403c5c2606ba57065b16e70
treed18d4669ddc851c7588e562d88ed28157d96a54c
parent843ddc5f617b91ae132d6bab0f2f2d9c9fcd214a
liblzma: Avoid implementation-defined behavior in the RISC-V filter.

GCC docs promise that it works and a few other compilers do
too. Clang/LLVM is documented source code only but unsurprisingly
it behaves the same as others on x86-64 at least. But the
certainly-portable way is good enough here so use that.
src/liblzma/simple/riscv.c