This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: An alpha IEEE bug


> 
> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]