On Wed, Aug 02, 2017 at 10:16:54AM -0700, Steve Ellcey wrote: > On Wed, 2017-08-02 at 11:37 +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 have built and tested the latest glibc with the latest gcc and after > removing the warnings from the Makefile, everything ran fine. There > were no build problems. Excellent. And sorry for the trouble in the first place.
Marek