diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-10-24 12:54:35 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2019-10-24 12:54:35 +0000 |
commit | 14b7b0b9df9bc3608122181cb6055b84176d517b (patch) | |
tree | 6e4f931606891aa59307bb316b5f1f779c5b12d8 /libstdc++-v3/ChangeLog | |
parent | 224a5b76f9fea598413d734fdd79d08835edb31a (diff) |
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".
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@277384 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e419f48c672..256d5d7aa20 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,6 +1,15 @@ 2019-10-24 Jonathan Wakely <jwakely@redhat.com> 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". + + Backport from mainline 2019-10-08 Jonathan Wakely <jwakely@redhat.com> * doc/Makefile.am (doc-html-docbook-regenerate): New target. |