tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Bug in math.h ?


From: Anders Koburg
Subject: [Tinycc-devel] Bug in math.h ?
Date: Tue, 28 Dec 2010 14:28:13 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

The following proggie does not work in tcc 0.9.25

// tcctest.c
#include <math.h>
int main(void)
{   double d = (double)1.23;
    d = rint(d);
    return(0); }

It stops with the old bug - unknown constraint 't' - which is caused by poor inline assembler code in math.h

How can it be solved? Reverting to crt.dll / msvcrt.dll ?

Happy New Year to All !
Andreas



reply via email to

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