Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* LoongArch: fix build error with gcc14 With CFLAGS=-Werror, gcc14 outputs errors like below: In file included from ./codec/common/inc/loongson_intrinsics.h:63, from codec/common/loongarch/mc_horver_lsx.c:46: In function ‘__lsx_vilvl_h’, inlined from ‘McHorVer22WidthEq4_lsx’ at codec/common/loongarch/mc_horver_lsx.c:521:5, inlined from ‘McHorVer22WidthEq9_lsx’ at codec/common/loongarch/mc_horver_lsx.c:646:3: /usr/lib/gcc-cross/loongarch64-linux-gnu/14/include/lsxintrin.h:1916:19: warning: ‘dst6’ may be used uninitialized [-Wmaybe-uninitialized] 1916 | return (__m128i)__builtin_lsx_vilvl_h ((v8i16)_1, (v8i16)_2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ codec/common/loongarch/mc_horver_lsx.c: In function ‘McHorVer22WidthEq9_lsx’: codec/common/loongarch/mc_horver_lsx.c:486:47: note: ‘dst6’ was declared here 486 | __m128i dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; | ^~~~ Note: errors are truncated because too long. * Run the unit tests on loongarch using qemu-loongarch64-static
- Loading branch information