Comment 9 for bug 2033405

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2024-04-10 16:19 EDT-------
Confirmed. This seems to fail for gcc12 and later and passes for gcc11 and earlier. I have confirmed that the source file that is mis-compiled is src/sha2.c.
Compiling the entire package with -O2 and sha2.c with -O3 shows the error, as well as compiling the entire package with -O3 and sha2.c with -O2 it passes.

Given we have a known good gcc version and a known bad version, we should be able to git bisect gcc to identify the commit that causes the failure.