diff mbox

[wwwdocs] Mention -Wduplicated-cond

Message ID 20151002132525.GY6184@redhat.com
State New
Headers show

Commit Message

Marek Polacek Oct. 2, 2015, 1:25 p.m. UTC
Applied.


	Marek
diff mbox

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.32
diff -u -r1.32 changes.html
--- changes.html	28 Sep 2015 00:43:48 -0000	1.32
+++ changes.html	2 Oct 2015 13:23:47 -0000
@@ -84,6 +84,9 @@ 
           <code>-fdelete-null-pointer-checks</code> is active, which is enabled
           by optimizations in most targets. The precision of the warnings
           depends on the optimization options used.</li>
+        <li><code>-Wduplicated-cond</code> warns about duplicated conditions
+	  in an if-else-if chain.  This warning is enabled by
+	  <code>-Wall</code>.</li>
       </ul>
     </li>
   </ul>