Fix ARRAY-IN-BOUNDS-P for negative subscripts
commit9d8af305cb5a3ae53c8ed4b7dc1c2cc4cc7ad1ef
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Thu, 16 Jul 2015 20:06:14 +0000 (16 22:06 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 19 Jul 2015 22:01:36 +0000 (20 00:01 +0200)
tree3b8cf0c1107c543eeebe2060580f287cc685c6f4
parent7a95db17f52990ee23fe2540af75aab891694a7b
Fix ARRAY-IN-BOUNDS-P for negative subscripts

* Extended test to include a case in which the compiler cannot see the
  constant subscript and array values.

Based on suggestion by Stas Boukarev.
src/code/array.lisp
src/compiler/array-tran.lisp
tests/array.pure.lisp