Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update x25519_test.cc array initialization to avoid a bug with a GCC …
…13 warning (#1555) ### Issues: Resolves V1360237371 ### Description of changes: Avoid a [GCC 13 bug](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114826) by initializing the test vector separately. This test still needs the `= {}` to zero initialize the entire array. ### Call-outs: This isn't tested in the CI because we don't want to test all march/compiler combinations at this time, this support is best effort for now. ### Testing: ``` docker run -v `pwd`:`pwd` -w `pwd` -it gcc:13 apt update && apt install cmake ninja less -y export CFLAGS='-march=haswell -mcrc32' export CXXFLAGS='-march=haswell -mcrc32' cmake -GNinja ../ ninja run_tests ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information