aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
Commit message (Collapse)AuthorAgeFilesLines
* tcctest: plugged memleak (was polluting valgrind reports)Joe Soroka2011-02-011-0/+1
|
* tccasm: allow one-line prefix+op things like "rep stosb"Joe Soroka2011-02-011-0/+43
|
* tccpp: fix bug in handling of recursive macrosJoe Soroka2011-02-011-0/+31
|
* weak definitions overrule non-weak prototypesJoe Soroka2011-02-011-0/+6
|
* support weak attribute on variablesJoe Soroka2011-02-011-0/+18
|
* Support struct arguments with stdarg.hShinichiro Hamaji2010-12-281-0/+23
| | | | | | | | - add __builtin_va_arg_types to check how arguments were passed - move most code of stdarg into libtcc1.c - remove __builtin_malloc and __builtin_free - add a test case based on the bug report (http://www.mail-archive.com/tinycc-devel@nongnu.org/msg03036.html)
* Test va_copy in tcctest.cShinichiro Hamaji2010-12-281-2/+4
|
* Fix casts from 32bit integer types to 64bit integer types.Shinichiro Hamaji2010-08-311-0/+8
| | | | | | | This bug was reported in http://lists.gnu.org/archive/html/tinycc-devel/2010-08/msg00050.html In this case, we should not emit any code when we cast from VT_FUNC to VT_PTR.
* Fix alignment around struct for SSE.Shinichiro Hamaji2010-08-271-3/+3
| | | | | | | - Fix a wrong calculation for size of struct - Handle cases where struct size isn't multple of 8 - Recover vstack after memcpy for pushing struct - Add a float parameter for struct_assign_test1 to check SSE alignment
* x86-64: change the type of size_t and ptrdiff_t.Shinichiro Hamaji2009-08-241-0/+2
| | | | size_t and ptrdiff_t should be unsigned long and long, respectively.
* drop alloca #definegrischka2009-05-161-0/+14
| | | | | | | (Because GNU's alloca.h unconditionally #undef's alloca) Also, remove gcc specific sections in headers. and instead change tests such that gcc does not use them.
* fix makefiles etc for subdirsgrischka2009-04-181-1/+1
|
* new subdirs: include, lib, testsgrischka2009-04-181-0/+2188