https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93978
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>: https://gcc.gnu.org/g:a57aa11191617754c8d43b3eb6a2576e970a0668 commit r11-591-ga57aa11191617754c8d43b3eb6a2576e970a0668 Author: Patrick Palka <ppa...@redhat.com> Date: Sat May 23 15:25:40 2020 -0400 libstdc++: Compile PR93978 testcase with -Wall Now that the frontend issue PR c++/94038 is thoroughly fixed, the testcase for PR93978 no longer fails to compile with -O -Wall, so add -Wall to the testcase's compile flags to help ensure we don't regress here. libstdc++-v3/ChangeLog: PR libstdc++/93978 * testsuite/std/ranges/adaptors/93978.cc: Add -Wall to dg-additional-options. Avoid unused-but-set-variable warning.