Talk:Tiny C Compiler
Appearance
This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
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 84.160.235.204 (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))
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)