https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123234

            Bug ID: 123234
           Summary: GCC documentation still describes decimal
                    floating-point types as GNU C extensions, although
                    they are standardized in ISO C23
           Product: gcc
           Version: 15.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stuzyf at 163 dot com
  Target Milestone: ---

The GCC documentation currently describes decimal floating-point types as a GNU
C extension, for example in the online manual:
https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Decimal-Float.html

“As an extension, GNU C supports decimal floating types as defined in the N1312
draft of ISO/IEC WDTR24732.”

However, decimal floating-point types (_Decimal32, _Decimal64, _Decimal128)
have been standardized in ISO/IEC 9899:2024 and are no longer merely extensions
to the C language.

I am not entirely sure whether my understanding is correct, but it seems that
the current wording in the documentation may be outdated with respect to the
C23 standard. From my understanding, the documentation could be updated to
reflect that decimal floating-point types are now part of the ISO C standard,
while their availability and behavior remain implementation- and
target-dependent in GCC.

I would appreciate clarification on whether the current description is
intentional, or whether the documentation should be updated accordingly.

Reply via email to