[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: undefined behaviour in lua source
- From: Sergey Zakharchenko <doublef.mobile@...>
- Date: Tue, 21 Jun 2016 07:06:28 +0300
2016-06-20 9:25 GMT+03:00 Daurnimator <email@example.com>:
> I ran the full lua 5.3.3 tests with the latest gcc (6.2.0) and clang
> (3.8.0) sanitizers.
> Issues that came up were all divisions by zero:
Off the top of my head, there's something in your environment (gcc and
clang runtime?) that's configuring the FPU to raise exceptions instead
of return NaNs (via fesetexceptflag()?). Check with fegetexceptflag().