tinycc/tests
grischka c2ad11ac70 tccgen: fix long long -> char/short cast
This was causing assembler bugs in a tcc compiled by itself
at i386-asm.c:352 when ExprValue.v was changed to uint64_t:

    if (op->e.v == (int8_t)op->e.v)
        op->type |= OP_IM8S;

A general test case:

    #include <stdio.h>
    int main(int argc, char **argv)
    {
        long long ll = 4000;
        int i = (char)ll;
        printf("%d\n", i);
        return 0;
    }

Output was "4000", now "-96".

Also: add "asmtest2" as asmtest with tcc compiled by itself
2016-10-02 01:39:14 +02:00
..
pp build: restore out-of-tree support 2016-10-01 21:06:53 +02:00
tests2 build: restore out-of-tree support 2016-10-01 21:06:53 +02:00
abitest.c Revert "fix-mixed-struct (patch by Pip Cet)" 2015-07-29 16:57:41 -04:00
asmtest.S tccgen: fix long long -> char/short cast 2016-10-02 01:39:14 +02:00
boundtest.c a bounds checking code for the ARCH=x86_64 2015-04-10 15:17:22 +03:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tccpp: fix issues, add tests 2015-05-09 14:29:39 +02:00
Makefile tccgen: fix long long -> char/short cast 2016-10-02 01:39:14 +02:00
tcctest.c Incorrect function call code on ARMv6 2016-10-01 23:10:11 +02:00
tcctest.py Added cross compilation to CMake build system. 2013-04-25 01:08:18 +01:00
testfp.c Remove misc. files 2016-10-01 20:27:41 +02:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00