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