Closed
Description
The following code is invalid Erlang code (since the documentation says "For a segment of type float the size must be either 64, 32, or 16"), but I would have expected either a runtime exception or the program being rejected.
f(#{(<<0:8589934596/float-unit:96>>) := _}) ->
ok.
Instead it causes erlc to crash with
binary_alloc: Cannot allocate 103079215152 bytes of memory (of type "binary").
This happens on master.