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

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Aug 14 20:06:05 CEST 2014


On Thu, Aug 14, 2014 at 7:59 PM, Tuncer Ayaz wrote:
> On Mon, Aug 4, 2014 at 12:28 PM, Anthony Ramine wrote:
>> There is also https://github.com/erlang/otp/pull/388
>
> Thanks, Anthony.
>
> #388 and another fix from Lukas got merged today:
> https://github.com/erlang/otp/commit/a8cbf02
> https://github.com/erlang/otp/commit/acf19fc
> https://github.com/erlang/otp/commit/9d3c229
>
> Tomas, can you confirm that today's maint or master works for you?

Just started building maint and I've been seeing this:
beam/bif.c:2824:5: runtime error: signed integer overflow:
429496729 * 10 cannot be represented in type 'int'



More information about the erlang-bugs mailing list