This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Implement -Wduplicated-branches (PR c/64279) (v3)
- From: Marek Polacek <polacek at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jeffrey Law <law at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Jason Merrill <jason at redhat dot com>, Richard Biener <rguenther at suse dot de>
- Date: Fri, 20 Jan 2017 16:07:21 +0100
- Subject: Re: Implement -Wduplicated-branches (PR c/64279) (v3)
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnymEW1Eig8dkzSTVtEj=67-=GzH96zGMTWKKda192dQKMw@mail.gmail.com>
On Fri, Jan 20, 2017 at 10:05:22AM -0500, David Edelsohn wrote:
> This patch introduced a new testsuite failure:
>
> FAIL: g++.dg/warn/Wduplicated-branches1.C -std=gnu++98 (test for excess errors)
> Excess errors:
> /nasfarm/edelsohn/src/src/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
> warning: this condition has identical branches [-Wduplicated-branches]
> /nasfarm/edelsohn/src/src/gcc/testsuite/g++.dg/warn/Wduplicated-branches1.C:9:3:
> warning: this condition has identical branches [-Wduplicated-branches]
Sorry about that. I'll investigate.
Marek