Talk:Tiny C Compiler

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated C-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.

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)

  • 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]; }
  • This is still true for the CVS version of 2007-12-14. —Preceding unsigned comment added by (talk) 19:04, 14 December 2007 (UTC)
    • 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))


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)