| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | add naive workaround for VLA vstack leak | Joe Soroka | 2011-04-08 | 1 | -0/+5 |
| | | |||||
| * | VLA leaks vstack. added warning to detect future leaks | Joe Soroka | 2011-04-08 | 1 | -0/+4 |
| | | |||||
| * | VLA bcheck works via bound alloca; add test, remove warning | Joe Soroka | 2011-04-06 | 2 | -4/+34 |
| | | |||||
| * | clarify post_type() VT_STORAGE handling by moving it out | Joe Soroka | 2011-04-06 | 1 | -7/+7 |
| | | |||||
| * | re-apply VLA by Thomas Preud'homme | Joe Soroka | 2011-04-06 | 7 | -35/+173 |
| | | |||||
| * | handle c99 flexible array members less hackily | Joe Soroka | 2011-03-18 | 1 | -1/+18 |
| | | |||||
| * | revert complicated & broken flexible array member handling | Joe Soroka | 2011-03-18 | 2 | -21/+5 |
| | | |||||
| * | sizeof(struct with "flexible array member") is wrong | Joe Soroka | 2011-03-18 | 1 | -0/+1 |
| | | |||||
| * | fix c99 for-loop init decl scope (thanks: grischka) | Joe Soroka | 2011-03-08 | 2 | -0/+4 |
| | | | | | see http://lists.nongnu.org/archive/html/tinycc-devel/2011-03/msg00005.html | ||||
| * | clarify support for functions returning an array (try#2) | Joe Soroka | 2011-03-08 | 1 | -4/+9 |
| | | | | | | fixes first attempt: http://repo.or.cz/w/tinycc.git/commitdiff/31fe1cc | ||||
| * | revert last commit. fails "make test" | Joe Soroka | 2011-03-08 | 1 | -8/+5 |
| | | | | | | | | | | test target in Makefile does not depend on tcc. i'm not sure why, but i can think of at least one good reason. in my local tree I have it modified to do so, but somehow inadvertently reverted that so when i did "make test" before committing, it didn't actually test my changes. sorry. | ||||
| * | clarify support for functions returning an array | Joe Soroka | 2011-03-08 | 1 | -5/+8 |
| | | | | | | | | | | previously, tcc would accept a prototype of a function returning an array, but not giving those functions bodies nor calling them. it seems that gcc has never supported them, so we should probably just error out... but it's possible that someone already using tcc includes some header that contains an unused prototype for one, so let's continue to support that. | ||||
| * | support c99 for-loop init decls (2nd attempt) | Joe Soroka | 2011-03-08 | 1 | -3/+18 |
| | | |||||
| * | partially revert e23194a | Joe Soroka | 2011-03-08 | 2 | -20/+3 |
| | | | | | see http://lists.nongnu.org/archive/html/tinycc-devel/2011-03/msg00002.html | ||||
| * | revert last 3 commits. will find better way. | Joe Soroka | 2011-03-08 | 1 | -96/+85 |
| | | |||||
| * | small change to previous whitespace-only commit | Joe Soroka | 2011-03-08 | 1 | -2/+2 |
| | | |||||
| * | some indentation made prev patch pretty; removed it | Joe Soroka | 2011-03-08 | 1 | -85/+81 |
| | | |||||
| * | refactor post_type() to be explicit about its recursion | Joe Soroka | 2011-03-08 | 1 | -5/+20 |
| | | |||||
| * | added a note clarifying post_type() recursion | Joe Soroka | 2011-03-08 | 1 | -0/+3 |
| | | | | | | | | | | some ancient pre-K&R C allows a function to return an array and the array brackets to be put after the arguments, such that "int c()[]" means the same as "int[] c()" see: http://llvm.org/bugs/show_bug.cgi?id=2399 http://java.sun.com/docs/books/jls/third_edition/html/classes.html#38703 | ||||
| * | tccelf: allow multiply defined weak symbols | Joe Soroka | 2011-03-07 | 1 | -0/+2 |
| | | |||||
| * | support c99 for-loop init decls | Joe Soroka | 2011-03-07 | 4 | -4/+25 |
| | | |||||
| * | use new weaken_symbol() to fix another real-world corner case | Joe Soroka | 2011-03-07 | 2 | -1/+4 |
| | | |||||
| * | factor out symbol weakening into new function | Joe Soroka | 2011-03-07 | 1 | -10/+17 |
| | | |||||
| * | weak redefinition of a symbol should weaken the original | Joe Soroka | 2011-03-07 | 2 | -0/+7 |
| | | |||||
| * | __typeof(t) should not include storage modifiers of t | Joe Soroka | 2011-03-06 | 2 | -0/+7 |
| | | |||||
| * | tccpp: fix problem in preprocess_skip with empty # | grischka | 2011-03-06 | 1 | -0/+2 |
| | | | | | | | | | for example: #ifdef stuff # /* some comment */ #endif | ||||
| * | unlink outfile first | Changming Xu | 2011-03-03 | 1 | -0/+1 |
| | | | | | file mode problem if the outfile already exists | ||||
| * | tccgen: handle __attribute((alias("target"))) | Joe Soroka | 2011-03-03 | 3 | -1/+27 |
| | | |||||
| * | collapse branch in decl(), making way for next patch | Joe Soroka | 2011-03-03 | 1 | -9/+9 |
| | | |||||
| * | handle post-asm-label attributes on variables | Joe Soroka | 2011-03-03 | 2 | -25/+28 |
| | | |||||
| * | tcc: fix weak attribute handling | Joe Soroka | 2011-03-02 | 2 | -6/+10 |
| | | |||||
| * | Replace comment by a blank | Changming Xu | 2011-03-01 | 1 | -7/+11 |
| | | | | | | | | | - fix my prev commit: put declaration above statements to stay c89 compatible - replace commit by a blank #define con(a, b) a/**/b this should yield a b, not ab | ||||
| * | tcc -E: append a ' ' after subst | Changming Xu | 2011-02-27 | 1 | -0/+10 |
| | | | | | | | | | | | We need a ' ' after subst of m in the following case #define m(name,r) name ## r #define m0(a,b,c) int m(a,b) c #define m1(a,b,c) int m(a,b)c m0(a, b, c); m1(a, b, c); | ||||
| * | i386-asm: support "pause" opcode | Joe Soroka | 2011-02-24 | 2 | -0/+2 |
| | | |||||
| * | tccasm: support alternate .type syntaxes | Joe Soroka | 2011-02-24 | 2 | -8/+23 |
| | | |||||
| * | tccpp: treat gas comments in .S files as raw text, not tokens | Joe Soroka | 2011-02-23 | 2 | -0/+6 |
| | | |||||
| * | fix warning for tcctest.c introduced with my last commit | Jaroslav Kysela | 2011-02-22 | 1 | -1/+1 |
| | | |||||
| * | fix another static struct init issue (arrays with unknown size at end) | Jaroslav Kysela | 2011-02-22 | 3 | -31/+64 |
| | | |||||
| * | Fix complex static initializers (handle additional '}' and '{' brackets) | Jaroslav Kysela | 2011-02-22 | 2 | -4/+34 |
| | | | | | | | - added an example to test suite - the "warning: assignment discards qualifiers from pointer target type" is present but harmless | ||||
| * | tccpe: support leading underscore for symbols | grischka | 2011-02-13 | 3 | -24/+42 |
| | | | | | | | | | | To make this the default, enable this line in libtcc.c:tcc_new: #if defined(TCC_TARGET_PE) && 0 s->leading_underscore = 1; and then recompile tcc and also libtcc1.a | ||||
| * | Add support of asm label for variables. | Thomas Preud'homme | 2011-02-09 | 1 | -10/+23 |
| | | | | | | | | | Add support for asm labels for variables, that is the ability to rename a variable at assembly level with __asm__ ("newname") appended in its declaration. See http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/Asm-Labels.html for more details. | ||||
| * | Fix fct asm label: only valid for declaration | Thomas Preud'homme | 2011-02-09 | 3 | -58/+26 |
| | | | | | | | | | | - Fix function assembly label mechanism introduced in commit 9b09fc376e8c212a767c875e71ca003e3b9a0d2e to only accept alternative name for function declaration. - merge the code with the one introduced in commit 264a103610e3ee86b27b8cbb0e4ec81cd654d980. - Don't memorize token for asm label but directly the asm label. | ||||
| * | Fix incorrect use of basic type as bitflags. | Thomas Preud'homme | 2011-02-07 | 1 | -4/+3 |
| | | | | | | Fix incorrect use of basic types as bitflags and inefficiency in commit cf36410e30b3c18be6c556158b2d0d0938f5b77d | ||||
| * | Complain for static fct declared w/o file scope | Thomas Preud'homme | 2011-02-06 | 1 | -0/+4 |
| | | | | | | | | | | Error out on static function without file scope and give an explaination to the user This is a rewrite of e9406c09a3212ab3f120412a6bbdacb0cdd25deb but considering problems raised about static local function pointers in 632ee5a54076d417971ae7fa8a0c154441a71499. | ||||
| * | revert "update VT_STRUCT_SHIFT for new VT_VLA" | Joe Soroka | 2011-02-04 | 2 | -2/+2 |
| | | |||||
| * | Revert "Implement C99 Variable Length Arrays" | Thomas Preud'homme | 2011-02-05 | 6 | -169/+33 |
| | | | | | This reverts commit a5a50eaafeea0d3ca47bc8fb6baf983743470c60. | ||||
| * | Revert "Reorder increasingly VT_* constants in tcc.h" | Thomas Preud'homme | 2011-02-05 | 2 | -24/+24 |
| | | | | | This reverts commit 7f00523e2e1938fc3558164521fe3ecefd9e1747. | ||||
| * | Revert "Make TOK_alloca available for x86-64" | Thomas Preud'homme | 2011-02-05 | 1 | -2/+0 |
| | | | | | This reverts commit af26ac56bfc584b70e20158e67f7035024076ec8. | ||||
| * | Revert "Disable C99 VLA when alloca is unavailable." | Thomas Preud'homme | 2011-02-05 | 2 | -10/+2 |
| | | | | | This reverts commit e3e5d4ad7a475e30ea13ad1ba9f23e6210d5d431. | ||||
| * | update VT_STRUCT_SHIFT for new VT_VLA | Joe Soroka | 2011-02-04 | 2 | -2/+2 |
| | | |||||
