]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Suppress -Wpessimizing-move warnings in shared_ptr tests
authorJonathan Wakely <jwakely@redhat.com>
Thu, 2 Oct 2025 15:37:33 +0000 (16:37 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 7 Oct 2025 11:12:39 +0000 (12:12 +0100)
commit5dce50b6a2d5f2723d886decba35a2c6758b5b9f
tree8321e696fbd73d70e44cbaf02180030d7e9cbc05
parent9af9532118c2c11b545700e74202b061396bb31c
libstdc++: Suppress -Wpessimizing-move warnings in shared_ptr tests

libstdc++-v3/ChangeLog:

* testsuite/20_util/shared_ptr/cons/move.cc: Add comment and
dg-prune-output for -Wpessimizing-move warning.
* testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc:
Likewise.
libstdc++-v3/testsuite/20_util/shared_ptr/cons/move.cc
libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc