Some fun with -O2

Ed Maste emaste at freebsd.org
Thu Jan 14 14:22:46 UTC 2021


On Thu, 14 Jan 2021 at 07:17, Thierry Thomas <thierry at freebsd.org> wrote:
>
> > Workaround is to add -fwrapv compiler switch.
>
> Indeed, but the fun part is the different behaviour with / without -O2.

Perhaps fun, but not surprising; this is a consequence of some optimization.

Can we fix this in autoconf and then have math/oleo regenerate configure?


More information about the freebsd-hackers mailing list