libstdc++: Compile PR93978 testcase with -Wall
authorPatrick Palka <ppalka@redhat.com>
Sat, 23 May 2020 19:25:40 +0000 (15:25 -0400)
committerPatrick Palka <ppalka@redhat.com>
Sat, 23 May 2020 19:25:40 +0000 (15:25 -0400)
commita57aa11191617754c8d43b3eb6a2576e970a0668
treeec53c0c0e84748c86316df91d98d85ff4f48c587
parent6d1556ecfae3eff010ef7dc15f3da998403fa196
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.
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/std/ranges/adaptors/93978.cc