mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
When running "gcc -O3 -Wall test/c/std/adler32.c", gcc 12.2.0 (but not gcc 10.2.1) would warn that adler32's "checksum.private_impl.f_started" may be used uninitialized. There is no warning without the "-O3". That warning is a false positive. f_started is always zero-initialized by wuffs_adler32__hasher__initialize (unless opted in to WUFFS_INITIALIZE__ALREADY_ZEROED, which the benchmarks do not). Also update test/c/std/crc32.c so that all of the base.hasher_u32 wuffs_bench_etc functions are consistent, even though gcc on crc32.c does not produce that same false positive warning.