This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rtlanal.c patch for trapping FP compares
- To: lucier at math dot purdue dot edu
- Subject: Re: rtlanal.c patch for trapping FP compares
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Wed, 13 Dec 2000 10:37:23 -0800
- cc: gcc-patches at gcc dot gnu dot org
The documentation for -ffast-math says that the compiler can assume that
no floating-point values are NaNs. Thus we can already assume that compares
do not trap when -ffast-math is used.
If you want to say that other operations, like divide, don't trap, then we
would need another option for it
Jim