aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2017-10-10 23:33:59 +0200
committerKostis Sagonas <[email protected]>2017-10-10 23:33:59 +0200
commit5bc8c741897b9af4cfcdd80f3efcedbe6dc2c04e (patch)
treede857aec9aef550f45f2b9d5d804c1ba8919ad86
parent32ff5b0372e3dd4db8d9a30de2e0b9995d3fc883 (diff)
downloadotp-5bc8c741897b9af4cfcdd80f3efcedbe6dc2c04e.tar.gz
otp-5bc8c741897b9af4cfcdd80f3efcedbe6dc2c04e.tar.bz2
otp-5bc8c741897b9af4cfcdd80f3efcedbe6dc2c04e.zip
Explicitly disable HiPE's range analysis
when/if compiling this file to native code to check its exception behaiour. Related to the discussion in #1586.
-rw-r--r--erts/emulator/test/exception_SUITE.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/test/exception_SUITE.erl b/erts/emulator/test/exception_SUITE.erl
index 0f27251fcb..be9b63d534 100644
--- a/erts/emulator/test/exception_SUITE.erl
+++ b/erts/emulator/test/exception_SUITE.erl
@@ -31,6 +31,10 @@
-include_lib("common_test/include/ct.hrl").
-import(lists, [foreach/2]).
+%% The range analysis of the HiPE compiler results in a system limit error
+%% during compilation instead of at runtime, so do not perform this analysis.
+-compile([{hipe, [no_icode_range]}]).
+
suite() ->
[{ct_hooks,[ts_install_cth]},
{timetrap, {minutes, 1}}].