I've committed the following update to reflect the recent addition. Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.7 diff -u -r1.7 changes.html --- changes.html 14 May 2015 22:07:28 -0000 1.7 +++ changes.html 25 May 2015 08:13:52 -0000 @@ -32,6 +32,14 @@ <h3 id="c-family">C family</h3> <ul> + <li>The C and C++ compilers now support attributes on enumerators. For instance, + it is now possible to mark enumerators as deprecated: +<blockquote><pre> +enum { + newval, + oldval __attribute__ ((deprecated ("too old"))) +}; +</pre></blockquote></li> <li>A new command-line option <code>-Wshift-negative-value</code> has been added for the C and C++ compilers, which warns about left shifting a negative value.</li>
Marek