Using default settings, in hash 96f1fb1, current mob head, I am having an
internal compiler assert on arm64.  The following program causes an
assert.  There are other cases but the assert remains the same.

float fd;
int main()
{
        if( fd < 5.5 ) return 1;
        return 0;
}

root@omitted:~/apps/cnovr/lib/tinycc# ./tcc failtest.c  -Iinclude
tcc: arm64-gen.c:1781: gen_cvt_ftof: Assertion `f == VT_FLOAT || f ==
VT_DOUBLE || f == VT_LDOUBLE' failed.
Aborted

Digging a little further, turns out f is of type 4104.  I'm not sure what
the best path forward here is.  Any clues?
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to