Name |
Last commit
|
Last update |
---|---|---|
.. | ||
float.h | ||
iso646.h | ||
stdalign.h | ||
stdarg.h | ||
stdatomic.h | ||
stdbool.h | ||
stddef.h | ||
stdfix.h | ||
stdint-gcc.h | ||
stdint-wrap.h | ||
stdnoreturn.h | ||
tgmath.h | ||
unwind-arm-common.h | ||
varargs.h |
As part of the integration of TS 18661-1 into C2x, many features became unconditional features not depending on any feature test macro being defined. This patch updates the conditionals on the *_WIDTH macros in limits.h and stdint.h accordingly so that they are defined for C2x. The macro CR_DECIMAL_DIG in float.h does still require __STDC_WANT_IEC_60559_BFP_EXT__ to be defined, and a test for this is added. Bootstrapped with no regressions on x86_64-pc-linux-gnu. gcc: * ginclude/stdint-gcc.h [__STDC_WANT_IEC_60559_BFP_EXT__]: Change condition on WIDTH macros to [__STDC_WANT_IEC_60559_BFP_EXT__ || (__STDC_VERSION__ && __STDC_VERSION__ > 201710L)]. * glimits.h: Likewise. gcc/testsuite: * gcc.dg/cr-decimal-dig-2.c: New test. * gcc.dg/limits-width-2.c: New test. Based on limits-width-1.c. * gcc.dg/stdint-width-2.c: New test. Based on stdint-width-1.c. From-SVN: r276497
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
float.h | Loading commit data... | |
iso646.h | Loading commit data... | |
stdalign.h | Loading commit data... | |
stdarg.h | Loading commit data... | |
stdatomic.h | Loading commit data... | |
stdbool.h | Loading commit data... | |
stddef.h | Loading commit data... | |
stdfix.h | Loading commit data... | |
stdint-gcc.h | Loading commit data... | |
stdint-wrap.h | Loading commit data... | |
stdnoreturn.h | Loading commit data... | |
tgmath.h | Loading commit data... | |
unwind-arm-common.h | Loading commit data... | |
varargs.h | Loading commit data... |