Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At least gcc 14.2 at x86 platform correctly returns sizeof(_Float16) value, but then the compilation is failed as the following: beam/erl_bits.c: In function ‘erts_bs_get_float_2’: beam/erl_bits.c:485:9: error: invalid conversion from type ‘_Float16’ without option ‘-msse2’ 485 | f.fd = FP16_TO_FP64(f16); | ^ Add the new check in order to fix build at x86 platform. Please note, that the patch correctly check the compiler behaviour when CFLAGS="-msse2" ./configure is run.
- Loading branch information