This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C/C++ PATCH to implement -Wmultistatement-macros (PR c/80116)
- From: Marek Polacek <polacek at redhat dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: David Malcolm <dmalcolm at redhat dot com>, Martin Sebor <msebor at gmail dot com>, gcc-patches at gcc dot gnu dot org, Joseph Myers <joseph at codesourcery dot com>, Martin Sebor <msebor at redhat dot com>, Jason Merrill <jason at redhat dot com>
- Date: Mon, 17 Jul 2017 11:25:55 +0200
- Subject: Re: C/C++ PATCH to implement -Wmultistatement-macros (PR c/80116)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=polacek at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com F2780C0587F2
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com F2780C0587F2
- References: <20170608164936.GV3413@redhat.com> <1496942649.7551.150.camel@redhat.com> <322f3053-7021-980f-c918-6c4666d82f32@gmail.com> <alpine.LSU.2.21.1706092358030.5843@anthias.pfeifer.com> <alpine.LSU.2.21.1707100054460.5621@anthias.pfeifer.com>
On Mon, Jul 17, 2017 at 10:15:40AM +0200, Gerald Pfeifer wrote:
> On Sat, 10 Jun 2017, Gerald Pfeifer wrote:
> > I'm curious to see how many issues this is going to find in real-world
> > code out there!
>
> This is a bit anecdotal, but your code did find one real issue in Wine:
>
> https://www.winehq.org/pipermail/wine-patches/2017-July/163551.html
> (and https://www.winehq.org/pipermail/wine-patches/2017-July/163550.html )
>
> The first patch was accepted, the second (but earlier one) not.
Thanks, good to see that. It's also found some bugs in glibc. Would love
to hear about kernel, too.
Marek