[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Floating/Double issue on arm64 in mob

From: Charles Lohr
Subject: [Tinycc-devel] Floating/Double issue on arm64 in mob
Date: Mon, 4 Nov 2019 22:51:44 -0800

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.

Digging a little further, turns out f is of type 4104.  I'm not sure what the best path forward here is.  Any clues?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]