[Top][All Lists]

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

Re: [Tinycc-devel] Annoying new warning

From: Michael Matz
Subject: Re: [Tinycc-devel] Annoying new warning
Date: Sat, 6 May 2017 07:23:35 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)


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.


reply via email to

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