This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".
The branch, master has been updated
via 6b798c7ed7aa889dd2c0f7f252b4d099b3cfbc22 (commit)
from 4979889192aecb6c5693d1a48f2d5ca0d6d6b3a5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6b798c7ed7aa889dd2c0f7f252b4d099b3cfbc22
Author: Jakub Jelinek <[email protected]>
Date: Wed Jan 15 20:26:25 2025 +0100
Document some further C FE changes.
diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
index c87c8a0d..98d85cf9 100644
--- a/htdocs/gcc-15/changes.html
+++ b/htdocs/gcc-15/changes.html
@@ -109,6 +109,41 @@ a work-in-progress.</p>
either add
<a
href="https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1">-std=</a>
to your build flags, or port your code; see <a
href="porting_to.html#c23">the porting notes</a>.
+ <li>Some more C23 features have been implemented:
+ <ul>
+ <li><code>#embed</code> preprocessing directive support
+ (as an extension enabled in C++ as well).</li>
+ <li>Support for <code>unsequenced</code> and <code>reproducible</code>
+ attributes.</li>
+ <li><code>__STDC_VERSION__</code> predefined macro value changed
+ for <code>-std=c23</code> or <code>-std=gnu23</code> to
+ <code>202311L</code>.</li>
+ </ul>
+ </li>
+ <li>Some new features from the upcoming C2Y revision of the ISO C
+ standard are supported with <code>-std=c2y</code>
+ and <code>-std=gnu2y</code>. Some of these features are also
+ supported as extensions when compiling for older language versions.
+ <ul>
+ <li>Generic selection expression with a type operand.</li>
+ <li>Support <code>++</code> and <code>--</code> on complex values.</li>
+ <li>Accessing byte arrays.</li>
+ <li><code>alignof</code> of an incomplete array type.</li>
+ <li>Obsolete implicitly octal literals and add delimited escape
+ sequences (just partially implemented, support for new syntax added
+ but nothing deprecated yet).</li>
+ <li>Named loops.</li>
+ <li>More Modern Bit Utilities (addition of
+ <code>__builtin_stdc_rotate_left</code> and
+ <code>__builtin_stdc_rotate_right</code> builtins for use in future
+ C library <code><stdbit.h></code> headers).</li>
+ <li>Case range expressions.</li>
+ <li><code>if</code> declarations.</li>
+ <li>Introduce complex literals.</li>
+ <li>Abs Without Undefined Behavior (addition of builtins for
+ use in future C library <code><stdlib.h></code> headers).</li>
+ </ul>
+ </li>
</ul>
<h3 id="cxx">C++</h3>
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-15/changes.html | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
hooks/post-receive
--
gcc-wwwdocs