2001-11-11 21:01:29 +03:00
|
|
|
TODO list:
|
2001-10-28 02:48:39 +03:00
|
|
|
|
2002-08-18 18:34:02 +04:00
|
|
|
- add separate symbol/offset handling (= fix some constant
|
|
|
|
initialisation bugs)
|
2002-08-18 18:44:08 +04:00
|
|
|
- setjmp is not supported properly in bound checking.
|
2002-08-18 18:34:02 +04:00
|
|
|
- add 'CType' structure to optimize type handling (= compile even faster)
|
|
|
|
- suppress unneeded hash table for Symbols (= compile even faster)
|
2002-08-18 18:44:08 +04:00
|
|
|
- add checks for multiple including of same file (= compile even faster)
|
2002-07-25 02:13:02 +04:00
|
|
|
- better local variables handling (needed for other targets)
|
2002-01-05 22:50:17 +03:00
|
|
|
- fix bound check code with '&' on local variables (currently done
|
|
|
|
only for local arrays).
|
2002-08-18 18:44:08 +04:00
|
|
|
- To check: bound checking and float/long long/struct copy code
|
|
|
|
- To fix: 'sizeof' generate code if too complex expression is given.
|
2002-08-18 18:34:02 +04:00
|
|
|
- free all allocated data and use longjmp for errors (useful for libtcc use)
|
2001-11-11 21:01:29 +03:00
|
|
|
|
|
|
|
Not critical:
|
|
|
|
|
2002-08-18 18:34:02 +04:00
|
|
|
- C99: add variable size arrays
|
|
|
|
- C99: add complex types
|
|
|
|
- C99: fix multiple compound literals inits in blocks (ISOC99
|
|
|
|
normative example - only relevant when using gotos! -> must add
|
|
|
|
boolean variable to tell if compound literal was already
|
|
|
|
initialized).
|
2002-08-18 18:44:08 +04:00
|
|
|
- add PowerPC or ARM code generator and improve codegen for RISC (need
|
|
|
|
to suppress VT_LOCAL and use a base register instead).
|
|
|
|
- interactive mode / integrated debugger
|
2001-12-03 00:44:40 +03:00
|
|
|
- fix preprocessor symbol redefinition
|
2001-11-11 21:01:29 +03:00
|
|
|
- better constant opt (&&, ||, ?:)
|
2001-11-18 19:33:35 +03:00
|
|
|
- add portable byte code generator and interpreter for other
|
|
|
|
unsupported architectures.
|
2002-07-25 02:13:02 +04:00
|
|
|
- C++: variable declaration in for, minimal 'class' support.
|
2002-08-18 18:34:02 +04:00
|
|
|
- win32: add __stdcall, __intxx. use resolve for bchecked malloc et
|
|
|
|
al. check GetModuleHandle for dlls. check exception code (exception
|
|
|
|
filter func).
|
|
|
|
- handle void (__attribute__() *ptr)()
|
2002-08-18 18:44:08 +04:00
|
|
|
- handle '? x, y : z' in reversed function arguments or unsized
|
|
|
|
variable initialization (',' is considered incorrectly as separator
|
|
|
|
in preparser).
|