NetBSD-Bugs archive

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

Re: toolchain/51026: mips64-eb awk is misbehaving



The following reply was made to PR toolchain/51026; it has been noted by GNATS.

From: Martin Husemann <martin%homeworld.NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/51026: mips64-eb awk is misbehaving
Date: Wed, 30 Mar 2016 17:50:02 +0000

 This is a failure in __ltdf2, the following simple program reproduces
 it:
 
 #include <stdio.h>
 
 int main(int argc, char **argv)
 {
         volatile double v1 = 1.0;
         volatile double v2 = 2.0;
         double r = v1-v2;
 
         if (r < 0) printf("%g is less\n", r);
         else printf("%g is more\n", r);
 
         return 0;
 }
 
 compile with:
 
 cc -g -Wall -msoft-float -O0 test.c
 
 output:
 
 -1 is more
 


Home | Main Index | Thread Index | Old Index