This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Disable -Wduplicated-cond for the time being
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 2 Oct 2015 18:37:57 +0200
- Subject: Re: [PATCH] Disable -Wduplicated-cond for the time being
- Authentication-results: sourceware.org; auth=none
- References: <20151002162737 dot GD6184 at redhat dot com>
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