On Wed, Aug 02, 2017 at 11:37:27AM +0000, Joseph Myers wrote: > On Thu, 27 Jul 2017, Marek Polacek wrote: > > > Bootstrapped/regtested on x86_64-linux and ppc64le-linux, ok for trunk? > > > > 2017-07-27 Marek Polacek <pola...@redhat.com> > > > > PR c/81448 > > PR c/81306 > > * c-warn.c (warn_for_multistatement_macros): Prevent bogus > > warnings. Avoid walking MACRO_MAP_LOCATIONS. > > > > > > * c-c++-common/Wmultistatement-macros-13.c: New test. > > OK. Steve, as I noted in > <https://sourceware.org/ml/libc-alpha/2017-07/msg00942.html>, please see > if this means you no longer need to use -Wno-multistatement-macros for > certain glibc tests (if it's still needed, that suggests another related > problem may still be present).
I've committed the patch (r250822), so I hope all those bogus warnings will disappear. Marek