This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug with g77 and -mieee on Alpha Linux
- To: Richard Hadsell <hadsell at blueskystudios dot com>
- Subject: Re: Bug with g77 and -mieee on Alpha Linux
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 8 Jul 1999 13:41:21 -0700
- Cc: craig at jcb-sc dot com, egcs at egcs dot cygnus dot com
- References: <199907062042.WAA00509@keksy.linux.provi.de> <19990707140435.1429.qmail@deer> <19990707194012.A291@keksy.linux.provi.de> <3783B4B1.89DC2124@moene.indiv.nluug.nl> <19990708135500.12573.qmail@deer> <3784BE26.D14F95CD@blueskystudios.com> <19990708155845.13652.qmail@deer> <19990708111645.A6051@cygnus.com> <37850527.B290B5D8@blueskystudios.com>
On Thu, Jul 08, 1999 at 04:08:07PM -0400, Richard Hadsell wrote:
> The problem I ran into immediately (with C++) was a call to a math
> function (e.g., exp()) that returns a denormal. libm must have been
> compiled with -mieee, or its equivalent. When my code is compiled the
> default way, without -mieee, the denormal eventually causes a
> floating-point exception that crashes my program.
Yes, that is a known problem on Linux. Digital's math libraries
don't do this.
r~