On Fri, 13 Jun 2025, Marek Polacek wrote:

> doesn't need any changes, I think.  Another is "modified existing functions
> to preserve the const-ness of the type placed into the function", I don't
> what this is talking about.

It's a duplicate of the entry "added qualifier preserving macros for 
bsearch, memchr, strchr, strpbrk, strrchr, strstr,
wcschr, wcspbrk, wcsrchr, wmemchr, and wcsstr;".  As in C++, the 
qualifiers on the type pointed to by the function return now match those 
on the argument.  It's a library feature, though it might benefit from 
some language feature to make the macro expansions involved shorter (much 
as <tgmath.h> benefits from __builtin-tgmath).

> I suppose we might do what we've done in
> https://gcc.gnu.org/projects/cxx-status.html for e.g. Concepts.
> If a feature F is implemented as per paper P1, then we say so; if a later
> paper P2 undoes some of F, then we say P2 is/is not implemented yet.
> 
> I very much like having a table like "C++26 Support in GCC" because
> it's immediately obvious what is/is not implemented, and if something
> isn't implemented, we have a PR for it where you can see if someone's
> already working on it.
> 
> But if you don't want a C2y table, fair; I've already spent more time
> on this that I'd planned.

It's reasonable to have the table, it just requires more ongoing 
maintenance because of how existing entries can be invalidated by changes 
to the working draft (consider e.g. how _Lengthof was changed to 
_Countof).

> +  <tr>
> +    <td>IEEE 754 interchange and extended types (Optional)</td>
> +    <td><a 
> href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2601.pdf";>N2601</a></td>
> +    <td class="supported"><a href="../gcc-7/changes.html#c">7</a> (binary 
> types) <br>
> +      <a href="../gcc-15/changes.html#c">15</a> (Annex H suffixes and
> +      <code>_Decimal64x</code>)</td>

That is, GCC 15 for Annex H suffixes *for decimal types*.

> +  <tr>
> +    <!-- r10-3790-g27dfdc0f92850a -->
> +    <td>Update DFP macros in <code>&lt;float.h&gt;</code></td>
> +    <td></td>
> +    <td class="supported"><a href="../gcc-10/changes.html#c">10</a></td>
> +    <td>adds <code>DEC*_TRUE_MIN</code> macros</td>
> +  </tr>

This seems more like it should be a note under the main entry for DFP 
support rather than its own feature entry (given that previous C standard 
versions didn't support DFP at all).

> +  <tr>
> +    <!-- r0-81205-gf7fd775f0203c5 -->
> +    <td>Binary integer literals formatting</td>
> +    <td><a 
> href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2549.pdf";>N2549</a></td>
> +    <td class="supported"><a href="../gcc-4.3/changes.html#c">4.3</a></td>
> +    <td></td>
> +  </tr>

I don't think "formatting" belongs in this item description; the format 
checking is the next item in your list.

OK with those items fixed.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to