iteration 19 evokes undefined behaviour [gentoo]
teletrail opened this issue · comments
hallo. I am running gentoo compiling openssl from within the package management system - it gave me a wwarning so I thought I should report to you all.
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* ../openssl-3.0.13/crypto/bn/rsaz_exp_x2.c:500:16: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
otherwise up-to-date system, let me know if there are changes I ought to make.
thanks!
I'm trying a build that's configured with -Waggressive-loop-optimizations
, just to see if I can reproduce it that way. If that fails, I will need to know exactly how gentoo configures OpenSSL, i.e. if your log has a command ./config ...
or ./Configure ...
, it would be wonderful if you could share it.
Update: my first attempt at reproducing failed, i.e. I got a clean build
looks like a duplicate of #21088
So this was fixed in #23898, not sure which branches all got that.
So this was fixed in #23898, not sure which branches all got that.
IMO just the master branch. Also it is a compiler bug/false positive warning.
I would be OK with the backport.