This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] Mention -Wduplicated-cond


Applied.

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>

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]