Fix: add gcc -Og check and fix its false positive warnings #814
No reviewers
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash!814
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Before adding
gcc-12and-Ogtest to our CI, I'd like to fixgcc -Ogissue.See also #810
Actually, this is a false positve of
gcc -Og. So there must be another ways to avoid this warning.But since it seems there's easy / safe / explicit fix for it with negilible const, I'd like to it to
XXH3_INITSTATE().( See advice https://github.com/Cyan4973/xxHash/issues/810#issuecomment-1455245974 from @easyaspi314 )
note: Test badge shows red ❌ , but it actually means "some tests are skipped". #817 fixes this issue.