This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix folding of finite () for modes that dont have NaNs and Infs
On Thu, 24 Aug 2006, Geoffrey Keating wrote:
> Richard Guenther <email@example.com> 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 Guenther <firstname.lastname@example.org>
Novell / SUSE Labs