aboutsummaryrefslogtreecommitdiff
path: root/tcctest.c
Commit message (Collapse)AuthorAgeFilesLines
* new subdirs: include, lib, testsgrischka2009-04-181-2188/+0
|
* mute strange difference in tcctestgrischka2009-04-181-0/+3
|
* x86-64: Fix cast from integers to pointers.Shinichiro Hamaji2009-04-181-0/+4
| | | | | | | | Now, ./tcc -run -DTCC_TARGET_X86_64 tcc.c -run tcctest.c works!
* Fixes for issues I've just found/introduced to x86 TCC.Shinichiro Hamaji2009-04-181-3/+1
| | | | | - Cast from pointer to long long makes TCC output an error. Use cast to int before we apply shift operation for a pointer value. - Removed test cases for casts from pointer to char/short because they produce warning.
* x86-64: Cast from 64bit pointer to long long must not generate movslq.Shinichiro Hamaji2009-04-181-0/+10
|
* x86-64: Make ABI for long double compatible with GCC.Shinichiro Hamaji2009-04-181-0/+6
| | | | | | - Now we use x87's stack top the long double return values. - Add rc_fret and reg_fret, wrapper functions for RC_FRET and REG_FRET. - Add a test case to check if strto* works OK.
* Improve the test coverage: !val for float/double/long long f.Shinichiro Hamaji2009-04-181-0/+4
|
* Support long long bitfields for all architectures.Shinichiro Hamaji2009-04-181-0/+15
| | | | | | - Modified gv() and vstore(), added vpushll(). - Added a test case for long long bitfields. - Tested on x86 and x86-64.
* A uint64 bug fix on x86-64Shinichiro Hamaji2009-04-181-0/+2
| | | | | 64bit unsigned literal was handled as 32bit integer. Added a unittest to catch this.
* string_test: we should always use 'unsigned int' for bKirill Smelkov2009-04-181-4/+0
| | | | | | | | | | | | | | | | | | | | As recently shown in fb0ac2 (s/int/unsigned/ since GCC 4.3.2 produces code which doesn't stop) comparing (signed) int variable to 0x80000000 is not idea for x86_64. This is not a good idea for x86_32 either, because GCC 4.3.2 (the one in Debian Lenny) rightly assumes that a signed int could be never 0x80000000, and thus removes the check from while (b != 0x80000000) { ... completely. If we want this check, we need b to be always 'unsigned' Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
* Add several test cases.Shinichiro Hamaji2008-12-021-0/+141
|
* s/int/unsigned/ since GCC 4.3.2 produces code which doesn't stop.Shinichiro Hamaji2008-12-021-0/+4
|
* update manual, changeloggrischka2008-03-311-1/+1
|
* conversion testbellard2006-10-281-1/+11
|
* multiple typedef testbellard2006-10-281-0/+7
|
* avoid jumping into statement expressionbellard2005-09-041-8/+8
|
* macro function testbellard2005-06-171-0/+8
|
* gcc 3.3 compatibility fix for multi-line string literalsbellard2004-10-281-0/+6
|
* updatebellard2004-10-231-0/+9
|
* updatebellard2004-10-181-0/+10
|
* const warning testbellard2003-06-021-0/+10
|
* fixed zero arg macro parsebellard2003-05-181-0/+6
|
* test macro substitution inside macro argsbellard2003-05-181-1/+10
|
* updatebellard2003-04-271-0/+31
|
* updatebellard2003-04-261-2/+2
|
* updatebellard2003-04-141-0/+21
|
* gcc 3 tests activated - new tests for 0.9.17bellard2003-04-131-5/+43
|
* updatebellard2003-01-061-1/+180
|
* fixes for buggy GCC compilersbellard2002-12-081-1/+10
|
* updatebellard2002-11-241-7/+80
|
* computed goto testbellard2002-11-031-0/+15
|
* sizeof/alignof/typeof testsbellard2002-11-021-7/+67
|
* more long long tests - more ## testsbellard2002-11-021-5/+28
|
* updatebellard2002-09-081-3/+22
|
* more testsbellard2002-08-311-1/+99
|
* better #line and #include testsbellard2002-08-181-1/+29
|
* more testsbellard2002-07-271-0/+9
|
* updatebellard2002-07-141-1/+1
|
* more testsbellard2002-07-131-4/+40
|
* negative float constbellard2002-03-171-1/+1
|
* added more #elif testsbellard2002-01-261-0/+11
|
* add c99 macrosbellard2002-01-051-1/+1
|
* changed tcc tests namebellard2002-01-051-0/+1280