Fix cut-to-width in the presence of bad constants in dead code.
authorStas Boukarev <stassats@gmail.com>
Sat, 7 Dec 2013 09:04:14 +0000 (13:04 +0400)
committerStas Boukarev <stassats@gmail.com>
Sat, 7 Dec 2013 09:04:14 +0000 (13:04 +0400)
commit961c6bf2eda5d492d5dbb7e275fe4e0931f7adf8
treea7d12941f4d41c4780aaa1c71babd7be9091da49
parentcfb04dbf1fb23a405c23de99ca998cdd2ff0d31f
Fix cut-to-width in the presence of bad constants in dead code.

Unreachable branches may have mismatching types and constant values,
and when cut-to-width is run before such nodes are deleted, it gets
confused.

Reported by Douglas Katzman.
NEWS
src/compiler/srctran.lisp
tests/compiler.impure.lisp