On Mar 22, 2015, at 15:09, Dimitry Andric <dim_at_FreeBSD.org> wrote: > On 22 Mar 2015, at 23:04, Garrett Cooper <yaneurabeya_at_gmail.com> wrote: >> >> On Mar 22, 2015, at 15:01, Craig Rodrigues <rodrigc_at_FreeBSD.org> wrote: >> >> ... >> >>> OK, converting expr.y to use unsigned integers would require a bit of work. >>> >>> Can you commit your patch to the Makefile? It fixes the problem for now. >> >> +1 >> >> I’d still like to know why clang 3.5 doesn’t have this behavior though — there might be other potential issues lurking around that need to be solved (either here, in ports, or both). > > Because this version optimizes better around undefined behavior. There > are most likely many issues lurking around, and most certainly in ports. > > I would recommend using UBSan to tackle this kind of thing. I hope this got a ports tinderbox run first… Adding UBSan to tinderbox runs for toolchain upgrades [in the future] might be a good idea.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC