Module Name: src Committed By: mrg Date: Tue Sep 5 04:22:44 UTC 2023
Modified Files: src/tests/sys/crypto/chacha: Makefile Log Message: apply -Wno-maybe-uninitialized to chacha_sse2.c. there's a clearly initialised memory region that is claimed as being maybe uninitialised, and this test-build version of it triggers it while the normal build doesn't. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/sys/crypto/chacha/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/sys/crypto/chacha/Makefile diff -u src/tests/sys/crypto/chacha/Makefile:1.6 src/tests/sys/crypto/chacha/Makefile:1.7 --- src/tests/sys/crypto/chacha/Makefile:1.6 Tue Sep 8 17:35:27 2020 +++ src/tests/sys/crypto/chacha/Makefile Tue Sep 5 04:22:44 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2020/09/08 17:35:27 jakllsch Exp $ +# $NetBSD: Makefile,v 1.7 2023/09/05 04:22:44 mrg Exp $ .include <bsd.own.mk> @@ -47,6 +47,8 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/sys/crypto/ SRCS.t_chacha+= chacha_sse2.c SRCS.t_chacha+= chacha_sse2_impl.c COPTS.chacha_sse2.c+= -msse -msse2 +# XXXGCC12 - believes subkey[] is maybe uninitialised, but it is not. +COPTS.chacha_sse2.c+= -Wno-maybe-uninitialized .endif # x86