This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Simple optimizations missing
- To: aj at suse dot de, pfk at fuchs dot offl dot uni-jena dot de
- Subject: Re: Simple optimizations missing
- From: dewar at gnat dot com
- Date: Sun, 9 Sep 2001 10:46:52 -0400 (EDT)
- Cc: gcc at gcc dot gnu dot org, jh at suse dot cz
<<For floating point: 0.0/0.0 might generate a floating point exceptions
and the result is a NaN. The same applies for the infinites.
>>
Of course this is only required if you are trying to be strict IEEE, I
would think it perfectly fine to do this optimization unless -mieee were set.