NetBSD-Bugs archive

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

Re: port-alpha/6634 (divide by zero gives strange results on alpha)



The following reply was made to PR port-alpha/6634; it has been noted by GNATS.

From: David Huang <khym%azeotrope.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: netbsd-bugs%netbsd.org@localhost,
 dholland%NetBSD.org@localhost
Subject: Re: port-alpha/6634 (divide by zero gives strange results on alpha)
Date: Mon, 27 Oct 2008 00:34:18 -0500

 On Oct 26, 2008, at 4:39 PM, dholland%NetBSD.org@localhost wrote:
 
 > Synopsis: divide by zero gives strange results on alpha
 >
 > State-Changed-From-To: feedback->open
 > State-Changed-By: dholland%NetBSD.org@localhost
 > State-Changed-When: Sun, 26 Oct 2008 21:39:40 +0000
 > State-Changed-Why:
 > Feedback timeout. Anyone with an alpha want to test the current  
 > state of
 > things?
 
 yerfable /tmp> uname -a
 NetBSD yerfable.azeotrope.org 4.99.72 NetBSD 4.99.72 (YERFABLE) #0:  
 Sat Sep 27 21:42:24 CDT 2008  khym%cheetah.azeotrope.org@localhost:/usr/ 
 obj.alpha/sys/arch/alpha/compile/YERFABLE alpha
 yerfable /tmp> cc -v
 Using built-in specs.
 Target: alpha--netbsd
 Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure -- 
 enable-long-long --disable-multilib --enable-threads --disable-symvers  
 --build=x86_64-unknown-netbsd4.99.72 --host=alpha--netbsd -- 
 target=alpha--netbsd --enable-__cxa_atexit
 Thread model: posix
 gcc version 4.1.3 20080704 prerelease (NetBSD nb1 20080202)
 yerfable /tmp> cc -o float float.c
 float.c: In function 'main':
 float.c:8: warning: division by zero
 float.c:10: warning: division by zero
 .yerfable /tmp> ./float
 Floating exception (core dumped)
 yerfable /tmp> cc -o float -mieee float.c
 float.c: In function 'main':
 float.c:8: warning: division by zero
 float.c:10: warning: division by zero
 yerfable /tmp> ./float
 i: inf
 j: inf
 


Home | Main Index | Thread Index | Old Index