Another one. Committed to CVS. Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.17 diff -u -r1.17 changes.html --- changes.html 27 Jul 2015 11:16:15 -0000 1.17 +++ changes.html 27 Jul 2015 14:35:59 -0000 @@ -48,6 +48,10 @@ overflows. <code>-Wshift-overflow=2</code> also warns about left-shifting 1 into the sign bit. This warning is enabled by default.</li> + <li>A new command-line option <code>-Wtautological-compare</code> has been + added for the C and C++ compilers, which warns if a self-comparison + always evaluates to true or false. This warning is enabled by + <code>-Wall</code>.</li> </ul> <h3 id="c">C</h3>
Marek