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]

Re: [PATCH] Disable -Wduplicated-cond for the time being


On Fri, Oct 02, 2015 at 06:27:37PM +0200, Marek Polacek wrote:
> Given that the new warning currently breaks bootstrap [*] and I see
> no simple way how to resolve PR67819 derived out of the bootstrap
> failure, I'm moving -Wduplicated-cond out of -Wall and skipping one
> of the tests for the time being.  I'm also reverting the hack in
> genemit.c.

Thus also

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v
retrieving revision 1.33
diff -u -r1.33 changes.html
--- changes.html	2 Oct 2015 13:24:51 -0000	1.33
+++ changes.html	2 Oct 2015 16:36:27 -0000
@@ -85,8 +85,7 @@
           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>
+	  in an if-else-if chain.</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]