[Ecls-list] generation of invalid C code (type cast)

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Jun 3 19:51:26 UTC 2010

On Thu, Jun 3, 2010 at 2:50 AM, Pascal J. Bourguignon <pjb at informatimago.com
> wrote:

> When compiling raiden-decipher (from
> http://git.informatimago.com/viewgit/?a=viewblob&p=public/lisp&h=728fe900a2cbf2a6dab2f7bbfcca92a6f36645a4&hb=5b22e7eab73f004ef00d478a119d5f4582174018&f=common-lisp/raiden.lisp
> ), ecl-10.4.2 (obtained from git yesterday) fails with:
>        V10= ((cl_fixnum)(V6)->vector.self.b32[V11]= V12);}}
> and the problem is that a typecast is not a lvalue.

Thanks a lot for reporting. ECL has some compiler code for coercing values
among different C types but it was placing the parenthesis in the wrong
place. I just uploaded a fix.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100603/9f58e7e5/attachment.html>

More information about the ecl-devel mailing list