[armedbear-devel] Stack overflow when compiler macro with fallback is triggered

Mark Evenson evenson at panix.com
Tue Jun 5 12:30:20 UTC 2012


On Jun 3, 2012, at 22:19 , James M. Lawrence wrote:

> (eval-when (:compile-toplevel :load-toplevel :execute)
>  (defun foo () 99)
> 
>  (define-compiler-macro foo ()
>    `(locally (declare (notinline foo))
>       (foo))))
> 
> (defun call-foo ()
>  (foo))
> 
> Of course, the use case is a compiler macro that says, "OK, let's
> optimize! ... Never mind, I don't want to optimize that."

Filed [as ticket #214][1]; thanks for the report!

[1]: http://trac.common-lisp.net/armedbear/ticket/214

By the way, [lparallel][2] is looking real sweet!  I'm looking
forward to find some time to use it to optimize ABCL's usage of
Bordeaux-Threads.

[2]: https://github.com/lmj/lparallel




More information about the armedbear-devel mailing list