I still have one small problem with testcase 111_conversion.c

The problem is that it fails on i386.c (linux) when compiling with:
tcc 111_conversion.c -o 111_conversion -b
./111_conversion

I fixed this (and commited it in git) with the following patch in tccgen.c:

                if ((p->r2 & VT_VALMASK) < VT_CONST) {
                    size *= 2;
                    align *= 2;
                }

This is probably not correct and should be fixed some where else.
Can someone who understands tcc better help me with this.

Thanks,

    Herman

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to