aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2022-10-13 01:13:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2022-10-13 01:13:36 +0000
commite867f6b7e636391cf70a8d9b9bac79248b3fad67 (patch)
treee98b0eb46994262c531cb9735c246ffd799c95a1 /gcc/ginclude
parent781f477a13ae14ca661018518f4d4a9e6881b0dd (diff)
downloadgcc-e867f6b7e636391cf70a8d9b9bac79248b3fad67.zip
gcc-e867f6b7e636391cf70a8d9b9bac79248b3fad67.tar.gz
gcc-e867f6b7e636391cf70a8d9b9bac79248b3fad67.tar.bz2
c: Do not use *_IS_IEC_60559 == 2
A late change for C2x (addressing comments from the second round of editorial review before the CD ballot, postdating the most recent public working draft) removed the value 2 for *_IS_IEC_60559 (a new <float.h> macro added in C2x). Adjust the implementation accordingly not to use this value. Bootstrapped with no regressions for x86_64-pc-linux-gnu. gcc/ * ginclude/float.h (FLT_IS_IEC_60559, DBL_IS_IEC_60559) (LDBL_IS_IEC_60559): Update comment. gcc/c-family/ * c-cppbuiltin.cc (builtin_define_float_constants): Do not use value 2 for *_IS_IEC_60559. gcc/testsuite/ * gcc.dg/c2x-float-10.c: Do not expect value 2 for *_IS_IEC_60559.
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/float.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h
index afe4a71..bc5439d 100644
--- a/gcc/ginclude/float.h
+++ b/gcc/ginclude/float.h
@@ -248,8 +248,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define DBL_NORM_MAX __DBL_NORM_MAX__
#define LDBL_NORM_MAX __LDBL_NORM_MAX__
-/* Whether each type matches an IEC 60559 format (1 for format, 2 for
- format and operations). */
+/* Whether each type matches an IEC 60559 format. */
#undef FLT_IS_IEC_60559
#undef DBL_IS_IEC_60559
#undef LDBL_IS_IEC_60559