tinycc/TODO

78 lines
3.0 KiB
Plaintext
Raw Normal View History

2001-11-11 21:01:29 +03:00
TODO list:
2001-10-28 02:48:39 +03:00
2003-04-13 23:50:35 +04:00
- '-b' bug.
- atexit (Nigel Horne)
- see -lxxx bug (Michael Charity).
- empty 'default:' in switch.
2003-01-06 23:19:20 +03:00
- fix asm without input/output (no % preprocessing)
- handle inline functions as macros.
- see transparent union pb in /urs/include/sys/socket.h
- precise behaviour of typeof with arrays ? (__put_user macro)
- #include_next support for /usr/include/limits ?
but should suffice for most cases)
- handle '? x, y : z' in reversed function arguments or unsized
variable initialization (',' is considered incorrectly as separator
in preparser) : change func argument code generator ?
- function pointers/lvalues in ? : (linux kernel net/core/dev.c)
- add A x86 asm constraint (linux asm-i386/div64.h)
- transform functions to function pointers in function parameters (net/ipv4/ip_output.c)
- fix function pointer type display
- fix bound exit on RedHat 7.3
- fix static link on RedHat 7.3
- check lcc test suite -> fix bitfield binary operations
- check section alignment in C
- fix invalid cast in comparison 'if (v == (int8_t)v)'
- packed attribute
- look at patches from Scott Lafferty
- look at bugs from Jason Petrasko.
2002-12-08 17:34:02 +03:00
- support link once trick (gcc 3.2 / glibc compilation issue)
- finish varargs.h support (gcc 3.2 testsuite issue)
2002-09-09 02:13:54 +04:00
- add alloca()
2002-11-24 18:58:28 +03:00
- fix static functions declared inside block
2002-12-08 17:34:02 +03:00
- C99: add variable size arrays (gcc 3.2 testsuite issue)
- C99: add complex types (gcc 3.2 testsuite issue)
2002-11-24 18:58:28 +03:00
- postfix compound literals (see 20010124-1.c)
- fix multiple unions init
- test includes in libtcc_test.
- look at GCC 3.2 compatibility problems.
- add option for auto run
2002-08-31 16:44:16 +04:00
- setjmp is not supported properly in bound checking.
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-11-03 03:44:38 +03:00
- sizeof, alignof, typeof can still generate code in some cases.
- bound checking and float/long long/struct copy code. bound
2002-08-31 16:44:16 +04:00
checking and symbol + offset optimization
2002-11-03 03:44:38 +03:00
- Fix the remaining libtcc memory leaks.
- make libtcc fully reentrant (except for the compilation stage itself).
- '-MD' option
2001-11-11 21:01:29 +03:00
2002-11-24 18:58:28 +03:00
Optimizations:
- suppress specific anonymous symbol handling
- more parse optimizations (=even faster compilation)
- memory alloc optimizations (=even faster compilation)
2001-11-11 21:01:29 +03:00
Not critical:
2002-08-18 18:34:02 +04:00
- 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-11-24 18:58:28 +03:00