https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81854
--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> --- Yes, the recent changes to the C++ tests are wrong. The failures are being tracked under bug 82301. I have a patch out for review to fix both the tests and the implementation of the warning to resolve the problem (https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01603.html).