Patchwork 4.6 C1X release notes

login
register
mail settings
Submitter Joseph S. Myers
Date Jan. 11, 2011, 11:20 p.m.
Message ID <Pine.LNX.4.64.1101112319240.32716@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/78468/
State New
Headers show

Comments

Joseph S. Myers - Jan. 11, 2011, 11:20 p.m.
I've applied this patch to add release notes for various C1X features 
added (or fixed to follow C1X semantics) in 4.6.

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.86
diff -u -r1.86 changes.html
--- changes.html	11 Jan 2011 21:16:31 -0000	1.86
+++ changes.html	11 Jan 2011 23:19:02 -0000
@@ -204,6 +204,23 @@ 
 <h3 id="c">C</h3>
 
   <ul>
+    <li>There is now experimental support for some features from the
+    upcoming C1X revision of the ISO C standard.  This support may be
+    selected with <code>-std=c1x</code>, or <code>-std=gnu1x</code>
+    for C1X with GNU extensions.  Note that this support is
+    experimental and may change incompatibly in future releases for
+    consistency with changes to the C1X standard draft.  The following
+    features are newly supported as described in the N1539 draft of
+    C1X; some other features were already supported with no compiler
+    changes being needed, or have some support but not in full accord
+    with N1539.
+    <ul>
+      <li>Static assertions (<code>_Static_assert</code> keyword)</li>
+      <li>Typedef redefinition</li>
+      <li>New macros in <code>&lt;float.h&gt;</code></li>
+      <li>Anonymous structures and unions</li>
+    </ul>
+    </li>
     <li>The new <code>-fplan9-extensions</code> option directs the
       compiler to support some extensions for anonymous struct fields
       which are implemented by the Plan 9 compiler.  A pointer to a