From: Kirill Smelkov Date: Wed, 14 Nov 2012 06:50:34 +0000 (+0400) Subject: Repair bounds-checking runtime X-Git-Tag: release_0_9_26~104 X-Git-Url: https://repo.or.cz/w/tinycc.git/commitdiff_plain/40a54c4399cc5e687d93add4b89bc16c19aaddfe Repair bounds-checking runtime On this weekend a thought came to me again that tinycc could be used for scripting. Only its bounds-checking mode turned out to be broken, which is a pity because bounds-checking is sometimes handy especially for quickly written scripts. Since tinycc is one of those small beautiful things, seldomly happening in our times, I couldn't resist trying to fix it. Thanks, Kirill * bcheck: Now btest pass! lib/bcheck: Prevent __bound_local_new / __bound_local_delete from being miscompiled lib/bcheck: Prevent libc_malloc/libc_free etc from being miscompiled --- 40a54c4399cc5e687d93add4b89bc16c19aaddfe