This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Making double precision constants work with -fsingle-precision-constant
"Carlos O'Donell" <carlos@codesourcery.com> writes:
| +#if __DBL_HAS_DENORM__
| + static const float_denorm_style has_denorm = denorm_present;
| +#else
| + static const float_denorm_style has_denorm = denorm_absent;
| +#endif
Could you rewrite that as
static const float_denorm_style has_denorm = __DBL_HAS_DENORM__
? denorm_present
: denorm_absent;
libstdc++ part is OK with that change.
Thanks,
-- Gaby