diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2015-12-26 18:15:30 +0800 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2015-12-26 18:15:30 +0800 |
commit | 9b58ceece89525bc832012f7b877de5615b12829 (patch) | |
tree | 9c085e51cc8754463d27fac5d516fe9d7533c3c6 /TODO | |
parent | 2946895a376add9d940bdbe4391e97cb846d26d1 (diff) |
Imported Upstream version 0.9.27~git20151225.f15c0a9
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -29,6 +29,23 @@ Bugs: - sizeof, alignof, typeof can still generate code in some cases. - Fix the remaining libtcc memory leaks. - make libtcc fully reentrant (except for the compilation stage itself). +- struct/union/enum definitions in nested scopes (see also Debian bug #770657) +- __STDC_IEC_559__: float f(void) { static float x = 0.0 / 0.0; return x; } + +Portability: + +- it is assumed that int is 32-bit and sizeof(int) == 4 +- int is used when host or target size_t would make more sense +- TCC handles target floating-point (fp) values using the host's fp + arithmetic, which is simple and fast but may lead to exceptions + and inaccuracy and wrong representations when cross-compiling + +Linking: + +- static linking does not work +- with "-run" and libtcc, no PLT is used, so branches may be out of + range and relocations may fail; as a result libtest fails on arm64; see: + https://lists.gnu.org/archive/html/tinycc-devel/2015-03/msg00111.html Bound checking: @@ -68,13 +85,14 @@ Not critical: to suppress VT_LOCAL and use a base register instead). - interactive mode / integrated debugger - fix preprocessor symbol redefinition -- better constant opt (&&, ||, ?:) - add portable byte code generator and interpreter for other unsupported architectures. - C++: variable declaration in for, minimal 'class' support. - win32: __intxx. use resolve for bchecked malloc et al. check exception code (exception filter func). - handle void (__attribute__() *ptr)() +- VLAs are implemented in a way that is not compatible with signals: + http://lists.gnu.org/archive/html/tinycc-devel/2015-11/msg00018.html Fixed (probably): |