]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix libstdc++ tests for -Wvolatile warnings in C++2a mode
authorJonathan Wakely <jwakely@redhat.com>
Wed, 11 Sep 2019 11:38:15 +0000 (12:38 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 11 Sep 2019 11:38:15 +0000 (12:38 +0100)
commitce7f1ce4d012efc6c3ddd2a4a50f0cc907efb3f5
tree20d8eecc34d6b12b5a4e7c292a6675e13ae89ea0
parentfd3bfefbd93259ca4af64e821388a6ec824fa0dd
Fix libstdc++ tests for -Wvolatile warnings in C++2a mode

* testsuite/20_util/result_of/sfinae_friendly_1.cc: Add -Wno-volatile
for C++2a and up. Define HAS_52748_FIXED and fix incorrect tests.
* testsuite/tr1/3_function_objects/result_of.cc: Add -Wno-volatile
for C++2a and up.

From-SVN: r275643
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/result_of/sfinae_friendly_1.cc
libstdc++-v3/testsuite/tr1/3_function_objects/result_of.cc