https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52799

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<[email protected]>:

https://gcc.gnu.org/g:1bb2bfb5d984456f59b42228f06d4ad4976358e7

commit r12-10240-g1bb2bfb5d984456f59b42228f06d4ad4976358e7
Author: Jonathan Wakely <[email protected]>
Date:   Thu Jun 8 12:19:26 2023 +0100

    libstdc++: Improve tests for emplace member of sequence containers

    Our existing tests for std::deque::emplace, std::list::emplace and
    std::vector::emplace are poor. We only have compile tests for PR 52799
    and the equivalent for a const_iterator as the insertion point. This
    fails to check that the value is actually inserted correctly and the
    right iterator is returned.

    Add new tests that cover the existing 52799.cc and const_iterator.cc
    compile-only tests, as well as verifying the effects are correct.

    libstdc++-v3/ChangeLog:

            * testsuite/23_containers/deque/modifiers/emplace/52799.cc:
            Removed.
            *
testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
            Removed.
            * testsuite/23_containers/list/modifiers/emplace/52799.cc:
            Removed.
            * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
            Removed.
            * testsuite/23_containers/vector/modifiers/emplace/52799.cc:
            Removed.
            *
testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
            Removed.
            * testsuite/23_containers/deque/modifiers/emplace/1.cc: New
            test.
            * testsuite/23_containers/list/modifiers/emplace/1.cc: New
            test.
            * testsuite/23_containers/vector/modifiers/emplace/1.cc: New
            test.

    (cherry picked from commit 3ec1d76a359542ed4c8370390efa9ee9e25e757f)

Reply via email to