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] 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


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