An alpha IEEE bug

Klaus Kaempf kkaempf@progis.de
Mon Feb 9 02:33:00 GMT 1998


> 
> Hi,
> 
> There is a bug in the IEEE math on linux/alpha:
> 
> # gcc -mieee ieee.c
> # a.out
> 7f800000
> 1
> # gcc -mieee ieee.c -O
> # a.out
> zsh: 744 abort      ./a.out

On openVMS/Alpha I get a different output (without optimization):

3f800000
0

It also calls abort() when compiled with optimization.

Klaus
-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de




More information about the Gcc mailing list