r277384 - in /branches/gcc-9-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Thu Oct 24 12:54:00 GMT 2019
Author: redi
Date: Thu Oct 24 12:54:35 2019
New Revision: 277384
URL: https://gcc.gnu.org/viewcvs?rev=277384&root=gcc&view=rev
Log:
Fix testsuite bugs
One of the static assertions in 20_util/function_objects/invoke/1.cc was
wrong, but didn't fail because by default it was compiled with
-std=gnu++14 which didn't use that static assertion. Split out the C++17
parts to a new file that always runs with -std=gnu++17, so those checks
are always done. Also backport some extra tests from an earlier commit
on trunk (r271173).
The 23_containers/unordered_set/allocator/ext_ptr.cc test is supposed to
be a run-time test but was unintentionally compile-only.
Backport from mainline
2019-05-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/function_objects/invoke/1.cc: Add more tests.
Move C++17-specific tests to ...
* testsuite/20_util/function_objects/invoke/3.cc: New test.
* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Change
"compile" test to "run".
Added:
branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/function_objects/invoke/3.cc
Modified:
branches/gcc-9-branch/libstdc++-v3/ChangeLog
branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/function_objects/invoke/1.cc
branches/gcc-9-branch/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc
More information about the Libstdc++-cvs
mailing list