tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Annoying new warning


From: Vincent Lefevre
Subject: Re: [Tinycc-devel] Annoying new warning
Date: Fri, 5 May 2017 08:55:52 +0200
User-agent: Mutt/1.8.2-7019-vl-r97300 (2017-04-18)

On 2017-05-05 06:46:27 +0200, Christian Jullien wrote:
> Ok, I tried this patch which allowed me to run my complete non-regression
> test suite without problem on ARM.
> 
> Do you agree I push this patch in mob?
> 
> diff --git a/lib/libtcc1.c b/lib/libtcc1.c
> index 9195489..bcdfb0b 100644
> --- a/lib/libtcc1.c
> +++ b/lib/libtcc1.c
> @@ -577,6 +577,10 @@ unsigned long long __fixunsdfdi (double a1)
> 
>  unsigned long long __fixunsxfdi (long double a1)
>  {
> +#if defined(TCC_TARGET_ARM)
> +//    (void)fprintf(stderr, "__fixunsxfdi(%g) called for TCC_TARGET_ARM\n",
> a1);
> +    return 0;

Why should the result be 0 on ARM?

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

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