Fix debug.impure.lisp / BUG-310175 for :stack-allocatable-lists targets.
authorAlastair Bridgewater <nyef@arisu.lisphacker.com>
Tue, 25 Oct 2011 14:13:58 +0000 (10:13 -0400)
committerAlastair Bridgewater <nyef@arisu.lisphacker.com>
Tue, 25 Oct 2011 14:13:58 +0000 (10:13 -0400)
commit6b09941b30bc039107b884a73b7299f4b52ba8e3
treec587dcc4e864b59a25a728643b199df2025c123a
parent05bb9b2b4ff04fb85067aa31c84d205b7a00c390
Fix debug.impure.lisp / BUG-310175 for :stack-allocatable-lists targets.

  * Not all platforms stack-allocate.  Some platforms (PPC) stack-
allocate some things, but not most things.

  * PPC, in particular, stack allocates for LIST and LIST* (the
:stack-allocatable-lists feature), but doesn't stack allocate for
CONS.  And it turns out that the compiler transforms one-arg-LIST
and two-arg-LIST* to CONS.

  * Use two-arg-LIST to force the :stack-allocatable-lists code
path, and mark the test as failing on non-:stack-allocatable-lists
targets.
tests/debug.impure.lisp