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

Pascal J. Bourguignon pjb at informatimago.com
Thu Jun 3 20:13:50 UTC 2010


Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:

> 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.

Thanks.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/





More information about the ecl-devel mailing list