intel / intel/isa-l_crypto

gcc11 issue on reference functions

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
301
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Starting with gcc11, many of the hash reference functions return incorrect results on -O2 and above but pass as at -O1. This may be related to a gcc11 siting [gcc bug 101257](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101257) where IPA is causing a violation of the strict aliasing rules. Commit 9510077 attempts to fix this with attribute(noipa) but can revert if fixed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.