[Ecls-list] Release ahead, report problems

Alexander Gavrilov angavrilov at gmail.com
Mon Feb 8 13:00:17 UTC 2010


Hi, there is a bug in code inlining:

(defun test (a b)
  (declare (fixnum a b))
  (multiple-value-bind (q r) (floor a b)
    (declare (fixnum q r))
    (print q)
    (print r)))

> (test 3 2)

1
1
1

> (compile 'test)
> (test 3 2)

NIL cannot be coerced to a C int.


This happens because only the calculation for the 0th value is
inlined, and thus r contains garbage.


On Wed, Feb 3, 2010 at 11:43 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> I want to produce a new release. For that I am officially beginning a test
> phase -- I will have to update the test farm, unable yet to install Samium's
> new system --, and will look into the following problems




More information about the ecl-devel mailing list