[erlang-bugs] enif_make_int64 => -0 for INT64_MIN with gcc 4.9.1

Tuncer Ayaz tuncer.ayaz@REDACTED
Wed Sep 17 14:33:55 CEST 2014


On Wed, Sep 17, 2014 at 12:10 PM, Tuncer Ayaz wrote:
> On Wed, Sep 17, 2014 at 9:18 AM, Lukas Larsson wrote:
> > Hello,
> >
> > It is merged in maint to be released in 17.3.
>
> Thanks, 17.2.2 wasn't new enough:
>
> FAIL OTP-17.2.2
> GOOD OTP-17.2.2-235-g6e2fd45 (maint)
> GOOD OTP-17.2.2-587-g08fb380 (master)

Building OTP-17.3 with --enable-sanitizers=undefined, you can see
the following during the build of lib/wx/examples/demo:
 ERLC   ex_aui.beam
beam/bif.c:2828:5: runtime error: signed integer overflow:
426141286 * 10 cannot be represented in type 'int'

I thought this was also fixed.



More information about the erlang-bugs mailing list