Bug#693312: tendra: Wrong compilation for some combinations of “switch” and “goto”

2012-11-15 Thread Konstantin Astrakhantsev
Package: tendra Version: 4.1.2-19 Severity: important Tags: upstream compile & execute switch_goto.c: int main () { switch (1) { case 0: goto l; case 1: case 2: printf("1\n"); {l:;} printf("skipped by o

Bug#693245: In very rare cases during compiling of some c-sources tendracc is fail with inner error

2012-11-14 Thread Konstantin Astrakhantsev
Package: tendra Version: 4.1.2-19 Severity: important Tags: upstream patch For example, compiling of tendra_nil.c: int f(int a, int b) { return (b & ~a) | ~b; } int main() { f(0, 0); return 0; } $ tendracc tendra_nil.c tcc: Error: Caught signal 11 in '/usr/lib/TenDRA/mac