diff options
author | Sverker Eriksson <[email protected]> | 2015-05-08 19:01:34 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-05-08 19:01:34 +0200 |
commit | 0a3dbbc20377aba3d7732ab6d2dca21e0f7b37c0 (patch) | |
tree | c0a19ce8bf850e08c40df41f3fe7769b8309cb2d /erts/emulator/sys/unix/sys_float.c | |
parent | cc03bb892c4ecf2344234d4f7b1b49133d782f41 (diff) | |
parent | b5ab6ded99afb0978dd4722d0d43b755555ac549 (diff) | |
download | otp-0a3dbbc20377aba3d7732ab6d2dca21e0f7b37c0.tar.gz otp-0a3dbbc20377aba3d7732ab6d2dca21e0f7b37c0.tar.bz2 otp-0a3dbbc20377aba3d7732ab6d2dca21e0f7b37c0.zip |
Merge branch 'sverk/erts-fp-exception-fixes/OTP-12717'
* sverk/erts-fp-exception-fixes/OTP-12717:
erts: Disable float exceptions for clang/llvm
erts: Increase buffer in erts_fp_check_init_error
Diffstat (limited to 'erts/emulator/sys/unix/sys_float.c')
-rw-r--r-- | erts/emulator/sys/unix/sys_float.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/sys_float.c b/erts/emulator/sys/unix/sys_float.c index 2ffa649767..c30ef7cce2 100644 --- a/erts/emulator/sys/unix/sys_float.c +++ b/erts/emulator/sys/unix/sys_float.c @@ -85,7 +85,7 @@ static void set_current_fp_exception(unsigned long pc) void erts_fp_check_init_error(volatile unsigned long *fpexnp) { - char buf[64]; + char buf[128]; snprintf(buf, sizeof buf, "ERTS_FP_CHECK_INIT at %p: detected unhandled FPE at %p\r\n", __builtin_return_address(0), (void*)*fpexnp); if (write(2, buf, strlen(buf)) <= 0) |