https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88877

--- Comment #9 from Kamlesh Kumar <kamleshbhalui at gmail dot com> ---
following testcase produces wrong result

$cat test.c

#include <stdio.h>
int main () {
unsigned int x=-1;
double d=x;
printf("%lf",d); 
return 0;
}

$./ccppc -mcpu=e6500 -mabi=elfv2 -msoft-float -m64 test.c

$./a.out
9223372036854775810.000000

while Expected output is:
4294967295.000000

Reply via email to