diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-06-20 22:17:08 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-06-26 21:15:14 +0100 |
commit | 6eff23314a7e51715f988acf3c19824fe87b5754 (patch) | |
tree | a0e465b716ef42b38019a61b40cc48a0b23a8447 /gcc | |
parent | e65b6627a36869b01bbe128a5324e4b415b28880 (diff) | |
download | gcc-6eff23314a7e51715f988acf3c19824fe87b5754.zip gcc-6eff23314a7e51715f988acf3c19824fe87b5754.tar.gz gcc-6eff23314a7e51715f988acf3c19824fe87b5754.tar.bz2 |
libstdc++: Remove duplicate test
We currently have 808590.cc which only runs for C++98 mode, and
808590-cxx11.cc which only runs for C++11 and later, but have almost
identical content (except for a defaulted special member in the C++11
one, to suppress a -Wdeprecated-copy warning).
This was done originally to ensure that the test ran for both C++98 mode
and C++11 mode, because the logic being tested was different enough to
need both to be tested. But it's trivial to run all tests in multiple
-std modes now, using GLIBCXX_TESTSUITE_STDS, so we don't need two
separate tests. We can remove one of the tests and allow the other one
to run in any -std mode.
libstdc++-v3/ChangeLog:
* testsuite/20_util/specialized_algorithms/uninitialized_copy/808590.cc:
Copy defaulted assignment operator from 808590-cxx11.cc to
suppress a warning.
* testsuite/20_util/specialized_algorithms/uninitialized_copy/808590-cxx11.cc:
Removed.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions