tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] tcc fails to compile the J interpreter


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] tcc fails to compile the J interpreter
Date: Thu, 5 Mar 2015 20:37:16 +0300

> struct{int c[1];} cases[] = {((int)0)};
> Still, the compiler crashes in two other cases and refuses compilation
> in one other case. (see original post)

Hi Robert!
I fixed this bug in the tcc compiler. Currently it succesfully compile
such statement.
Try to compile a J interpreter by the  tcc from a git repository.
Report a result please.


2015-01-27 13:46 GMT+03:00, Sergey Korshunoff <address@hidden>:
> 2015-01-24 20:07 GMT+03:00, Robert Clausecker <address@hidden>:
>> So this is a won't fix. What about the two compiler crashes I
>> demonstrated as well as the other case in x15.c where tcc refuses to
>> compile because it believes that a certain initializer isn't constant?
>> The initializer has the form
>>
>>     long a[] = { (long)&f1, (long)&f2, (long)&f3 };
>>
>> where f1, f2, and f3 are functions
>
> Do you use a clean tinycc.git  or a git version with a patches? There
> is a set of staging patches waiting to be uploaded. I used  a
> tinycc.git with patches and build jconsole. There was a problem with
> building a shared library. I don't checked why.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]