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]
Other format: [Raw text]

Re: [PATCH] Fix folding of finite () for modes that dont have NaNs and Infs


On Thu, 24 Aug 2006, Geoffrey Keating wrote:

> Richard Guenther <rguenther@suse.de> writes:
> 
> > It's a typo appearantly, but I didn't succeed in creating a testcase that
> > feeds a mode into it that _doesnt_ have NaNs or Infs.  Maybe that needs
> > some special target or whatever.
> 
> -ffinite-math-only should cause every mode to not have NaNs or Infs.

No, for that we have

#define HONOR_NANS(MODE) \
  (MODE_HAS_NANS (MODE) && !flag_finite_math_only)

-ffinite-math-only doesn't really change the properties of the mode,
but what we make of these properties.

Richard.

--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs


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