| @@ -1,33 +1,35 @@ |
| 1 | 1 | TODO list: |
| 2 | 2 | |
| 3 | | −- relocate .stabs information |
| 4 | | −- fix -I search order (same as gcc) |
| 5 | | −- dynamic hash table resizing |
| 6 | | −- better section generator (suppress mmaps) |
| 7 | | −- relocate .bounds section content |
| 8 | | −- add size info on all ELF symbols |
| 9 | | −- add separate symbol/offset handling |
| 3 | +- add separate symbol/offset handling (= fix some constant |
| 4 | + initialisation bugs) |
| 5 | +- add 'CType' structure to optimize type handling (= compile even faster) |
| 6 | +- suppress unneeded hash table for Symbols (= compile even faster) |
| 7 | +- |
| 10 | 8 | - better local variables handling (needed for other targets) |
| 11 | | −- handle void (__attribute__() *ptr)() |
| 9 | +- setjmp is not supported properly in bound checking. |
| 12 | 10 | - To check: bound checking and float/long long/struct copy code |
| 13 | 11 | - To fix: 'sizeof' generate code if too complex expression is given. |
| 14 | 12 | - fix bound check code with '&' on local variables (currently done |
| 15 | 13 | only for local arrays). |
| 16 | | −- win32: add __stdcall, __intxx. use resolve for bchecked malloc et |
| 17 | | − al. check GetModuleHandle for dlls. check exception code (exception |
| 18 | | − filter func). |
| 14 | +- free all allocated data and use longjmp for errors (useful for libtcc use) |
| 19 | 15 | |
| 20 | 16 | Not critical: |
| 21 | 17 | |
| 18 | +- C99: add variable size arrays |
| 19 | +- C99: add complex types |
| 22 | 20 | - add PowerPC or ARM code generator and improve codegen for RISC (need |
| 23 | 21 | to suppress VT_LOCAL and use a base register instead). |
| 24 | 22 | - interactive mode / integrated debugger |
| 25 | | −- fix multiple compound literals inits in blocks (ISOC99 normative |
| 26 | | − example - only relevant when using gotos! -> must add boolean |
| 27 | | − variable to tell if compound literal was already initialized). |
| 28 | | −- fix L"\x1234" wide string case (need to store them as utf8 ?) |
| 23 | +- C99: fix multiple compound literals inits in blocks (ISOC99 |
| 24 | + normative example - only relevant when using gotos! -> must add |
| 25 | + boolean variable to tell if compound literal was already |
| 26 | + initialized). |
| 29 | 27 | - fix preprocessor symbol redefinition |
| 30 | 28 | - better constant opt (&&, ||, ?:) |
| 31 | 29 | - add portable byte code generator and interpreter for other |
| 32 | 30 | unsupported architectures. |
| 33 | 31 | - C++: variable declaration in for, minimal 'class' support. |
| 32 | +- win32: add __stdcall, __intxx. use resolve for bchecked malloc et |
| 33 | + al. check GetModuleHandle for dlls. check exception code (exception |
| 34 | + filter func). |
| 35 | +- handle void (__attribute__() *ptr)() |