> 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 <[email protected]>: > 2015-01-24 20:07 GMT+03:00, Robert Clausecker <[email protected]>: >> 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. > _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
