]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc
libstdc++: Suppress more vstring testsuite warnings. [PR 98613]
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 10 Jan 2021 23:10:34 +0000 (18:10 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 10 Jan 2021 23:22:51 +0000 (18:22 -0500)
commit4a1d7f7e203d0ec4b9d67ea6fc9b84bee1e211d3
tree999f378322aa1a95748b7ce36a171ebfe120b8db
parent872373360dab259d51caa002ff1722ff84746d8b
libstdc++: Suppress more vstring testsuite warnings. [PR 98613]

    PR c++/57111 - 57111 - Generalize -Wfree-nonheap-object to delete

can create false positive warnings for vstring _S_empty_rep.

This patch prunes the excess false positive warnings from two more
testcases.

libstdc++-v3/ChangeLog:

PR libstdc++/98613
* testsuite/ext/vstring/cons/moveable.cc: Suppress false positive
warning.
* testsuite/ext/vstring/modifiers/assign/move_assign.cc: Same.
libstdc++-v3/testsuite/ext/vstring/cons/moveable.cc
libstdc++-v3/testsuite/ext/vstring/modifiers/assign/move_assign.cc