Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2021 09:22:30 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Some fun with -O2
Message-ID:  <CAPyFy2CY_tMo=%2BeX5E0_Yp=c=1Ei0v6e5p1uvVaLH7%2BXTisoBw@mail.gmail.com>
In-Reply-To: <YAA2a4hBEc4xWJ3Z@graf.pompo.net>
References:  <YAAqI08bgBtfpssP@graf.pompo.net> <YAAuouAngRyT7Dw0@kib.kiev.ua> <YAA2a4hBEc4xWJ3Z@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jan 2021 at 07:17, Thierry Thomas <thierry@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CY_tMo=%2BeX5E0_Yp=c=1Ei0v6e5p1uvVaLH7%2BXTisoBw>