This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/6981] __STDC_IEC_559__ should not be defined unconditionally


https://sourceware.org/bugzilla/show_bug.cgi?id=6981

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
__STDC_IEC_559__ is now conditional, reflecting the intent (not necessarily
completeness) regarding Annex F support, in glibc 2.19 given GCC 4.9 or later
(these sorts of corner cases are only expected to work for current GCC and
glibc working together).

Annex F permits FLT_EVAL_METHOD other than 0.  The relevant GCC macros are
defined conditional on such options as -ffast-math that indicate a user intent
contrary to Annex F.  GCC 4.9 disables contraction in strict conformance modes
(and if reenabled in those modes, __STDC_IEC_559__ will then not be defined).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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