Talk:Tiny C Compiler

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

TCC ISO compliance[edit]

As far as I know, the homepage states that it is an ISO C99 compliant C compiler, so I'm wondering about the significance of the statement about falling far short of a C90 compliant implementation. Zuiram 03:08, 20 December 2006 (UTC)[reply]

  • It's a mile away from C90 compliance. I have some simple C90 tests in front of me which only test compile-time conformance and are far from exhaustive. It fails 175 of 926 tests with 4 segfaults, as a comparison GCC fails 7 with no segfaults. Just two examples of failures are the following, which the standard requires a diagnostic for:
    • int f (float z) { switch (z) { default: return 1; } }
    • char *p; void f (signed char *q) { p = &q[1]; }
    • Could you please give an exhaustive list of tests, or a relevant link to testing tools, so it can be determined whether or not this is true for more modern versions? (Jeremyhfht (talk) 03:42, 13 February 2010 (UTC))[reply]

error[edit]

In the section Compiled program performance, in the paragraph on rough benchmarks, there is a missing period in the last number. I suspect it should be .93. Rebele | Talk The only way to win the game is to not play the game. 09:41, 30 May 2010 (UTC)[reply]