This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: An alpha IEEE bug
- To: hjl at lucon dot org (RHS Linux User)
- Subject: Re: An alpha IEEE bug
- From: kkaempf at progis dot de (Klaus Kaempf)
- Date: Mon, 9 Feb 1998 11:27:24 +0100 (MET)
- Cc: egcs at cygnus dot com
>
> 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