This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rtlanal.c patch for trapping FP compares


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]