Hi,

On Sat, 6 May 2017, Christian Jullien wrote:

Using your advice, I added #if !defined(TCC_TARGET_ARM) around all code
directly or indirectly using ldouble_long which solved warning.

But you now also ifdefed out __fixunsdfdi and __fixdfdi. That can't work, they are called from the backend:

+#if !defined(TCC_TARGET_ARM)

Here you start the ifdef ...

unsigned long long __fixunsdfdi (double a1)

... so this, ...

{
    register union double_long dl1;
@@ -598,24 +601,25 @@ unsigned long long __fixunsxfdi (long double a1)
        return 0;
}

-long long __fixsfdi (float a1)
+long long __fixdfdi (double a1)

... this ...

-long long __fixdfdi (double a1)
+long long __fixxfdi (long double a1)

... and this are commented out. Only the last one and __fixunsxfdi should be.


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to