This is the mail archive of the
mailing list for the GCC project.
Re: FENV_ACCESS questions in C and Fortran
- To: Geoff Keating <geoffk at ozemail dot com dot au>
- Subject: Re: FENV_ACCESS questions in C and Fortran
- From: Stephen L Moshier <moshier at mediaone dot net>
- Date: Thu, 11 Nov 1999 07:55:36 -0500 (EST)
- cc: gcc at gcc dot gnu dot org
- Reply-To: moshier at mediaone dot net
> A compiler may do any
> transformation on a strictly conforming program so long as the program
> behaves as if those transformations are not done.
Then why do you say it is ok to eliminate exception traps? The
behavior on floating point exception seems to be unspecified.
Exceptions could do anything at all. How would the compiler know
whether it is safe to touch them?