===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.7
@@ -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>