diff options
author | Anthony Ramine <[email protected]> | 2014-03-08 02:31:53 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-10 02:37:10 +0100 |
commit | 4777f33ece33aaaa5066730b950f185cbd5ae816 (patch) | |
tree | db57597f62d5c6eda64f12f6274900655e2ac194 /lib/compiler/test/beam_disasm_SUITE.erl | |
parent | 870737ab657433c5e8751255fe3c4d298202d142 (diff) | |
download | otp-4777f33ece33aaaa5066730b950f185cbd5ae816.tar.gz otp-4777f33ece33aaaa5066730b950f185cbd5ae816.tar.bz2 otp-4777f33ece33aaaa5066730b950f185cbd5ae816.zip |
Properly handle redundant boolean clauses in sys_core_fold
Boolean case expressions with redundant clauses could make the compiler
crash:
case X == 0 of
false -> no;
false -> no;
true -> yes
end.
Reported-by: Ulf Norell
Diffstat (limited to 'lib/compiler/test/beam_disasm_SUITE.erl')
0 files changed, 0 insertions, 0 deletions