NetBSD-Bugs archive

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

Re: port-sparc/44389



On 18/01/11 13:05, Martin Husemann wrote:
The following reply was made to PR port-sparc/44389; it has been noted by GNATS.

From: Martin Husemann<martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: mateusz%loskot.net@localhost
Subject: Re: port-sparc/44389
Date: Tue, 18 Jan 2011 14:02:45 +0100

  Could you try compiling and running this simple test program?

  #include<stdlib.h>

  int main(int argc, char **argv)
  {
          char *endp;
          double d = strtod("NaN",&endp);
          return 0;
  }


  This should output nothing - if it gets a fpu exception, pass it to the
  qemu maintainers.


Here it is:

qemu-netbsd-51-sparc$ gcc ./nan_test.c
qemu-netbsd-51-sparc$ ./a.out
qemu-netbsd-51-sparc$


--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


Home | Main Index | Thread Index | Old Index