Hi Kirill, it seems you are with Fabrice Bellard the most familiar person with bound check code in tcc. Long time ago a bug was reported in Debian about mksh failing to work when compiled with tcc and we later found that it was due to bound check. Since you did many improvement in the last release, I tried again a few days ago but unfortunately it still segfaults when compiled with tcc and bound checking mode on.
Would you mind to take a look? Recent version of mksh have disabled the use of tcc -b so I use the version 38.3 of mksh (it is the version where the problem was found). Once the source downloaded, you just need to go in mksh directory in the source and enter CC=tcc CFLAGS=-g sh Build.sh -r. Then try running mksh with the most basic command: ./mksh -c true and look at the segfault. This procedure is described at [0]. [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537622 Anyway, even if you can't or don't want to take a look at this bug I'd like to thank you for improving the bound check code in tcc. It's one of its key feature that makes this project cool and that people like. Best regards, Thomas _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
