From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 43E223985817; Thu, 3 Sep 2020 15:47:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43E223985817 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599148033; bh=XNcNeUhtJfuWIRya+RLtL4FQ+I8yRYNI9H1WIFxJSL0=; h=From:To:Subject:Date:From; b=uDXsVj/bp6NROJdwyhLtyqjzdkZ1rBKetfgtonObaIBPJunSeNJ7+TUVaL/T8sdRN RjIghkh5mz02EUPqJ46MZgN0xeVWqrN669/KZgDdYmy/76d/6ATUZXKbeua8+jGpng 0Ap1s5N66yQaLR77GqtQi5iGxGWjCB+JwziXkaPU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testbase)] libstdc++: Remove tests for self-move debug assertions X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/users/aoliva/heads/testbase X-Git-Oldrev: 1007170df82e330e4e222a14b4c74e0c8ebba6c5 X-Git-Newrev: 24f2764521d8f27760f03f626a4f20f4c82b7c73 Message-Id: <20200903154713.43E223985817@sourceware.org> Date: Thu, 3 Sep 2020 15:47:13 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 15:47:13 -0000 https://gcc.gnu.org/g:24f2764521d8f27760f03f626a4f20f4c82b7c73 commit 24f2764521d8f27760f03f626a4f20f4c82b7c73 Author: Jonathan Wakely Date: Tue Aug 25 16:30:45 2020 +0100 libstdc++: Remove tests for self-move debug assertions I recently removed the debug mode checks for self-move assignment, which means these tests now fail when _GLIBCXX_DEBUG is added to the options or when the check-debug target is used. Remove all the tests. libstdc++-v3/ChangeLog: * testsuite/21_strings/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/21_strings/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/deque/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/list/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/map/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/multimap/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/multiset/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/set/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc: Removed. * testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc: Removed. * testsuite/23_containers/vector/debug/self_move_assign_neg.cc: Removed. Diff: --- .../debug/iterator_self_move_assign_neg.cc | 35 ---------------------- .../21_strings/debug/self_move_assign_neg.cc | 34 --------------------- .../deque/debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../deque/debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../forward_list/debug/self_move_assign_neg.cc | 33 -------------------- .../list/debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../list/debug/self_move_assign_neg.cc | 33 -------------------- .../map/debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../map/debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../multimap/debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../multiset/debug/self_move_assign_neg.cc | 33 -------------------- .../set/debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../set/debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../unordered_map/debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../debug/self_move_assign_neg.cc | 33 -------------------- .../debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../unordered_set/debug/self_move_assign_neg.cc | 33 -------------------- .../vector/debug/iterator_self_move_assign_neg.cc | 34 --------------------- .../vector/debug/self_move_assign_neg.cc | 33 -------------------- 26 files changed, 873 deletions(-) diff --git a/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 1d031df9973..00000000000 --- a/libstdc++-v3/testsuite/21_strings/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { xfail *-*-* } } -// { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } - -#include - -void test01() -{ - __gnu_debug::string s1; - auto it1 = s1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc deleted file mode 100644 index 982e0f636c5..00000000000 --- a/libstdc++-v3/testsuite/21_strings/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { xfail *-*-* } } -// { dg-require-debug-mode "" } -// { dg-options "-std=gnu++11" } - -#include - -void test01() -{ - __gnu_debug::string s1; - s1 = std::move(s1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 2a59e2721d7..00000000000 --- a/libstdc++-v3/testsuite/23_containers/deque/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::deque d1; - auto it1 = d1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc deleted file mode 100644 index 9ac441774a0..00000000000 --- a/libstdc++-v3/testsuite/23_containers/deque/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::deque d1; - d1 = std::move(d1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 9c08754cb26..00000000000 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::forward_list fl1; - auto it1 = fl1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc deleted file mode 100644 index a65bd4a7477..00000000000 --- a/libstdc++-v3/testsuite/23_containers/forward_list/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::forward_list fl1; - fl1 = std::move(fl1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 6769a4e6772..00000000000 --- a/libstdc++-v3/testsuite/23_containers/list/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::list l1; - auto it1 = l1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc deleted file mode 100644 index 3e5330722c9..00000000000 --- a/libstdc++-v3/testsuite/23_containers/list/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::list l1; - l1 = std::move(l1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index d2169725cc5..00000000000 --- a/libstdc++-v3/testsuite/23_containers/map/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::map m1; - auto it1 = m1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc deleted file mode 100644 index aa80302d6fd..00000000000 --- a/libstdc++-v3/testsuite/23_containers/map/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::map m1; - m1 = std::move(m1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index afaae19da77..00000000000 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::multimap mm1; - auto it1 = mm1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc deleted file mode 100644 index cde72a34677..00000000000 --- a/libstdc++-v3/testsuite/23_containers/multimap/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::multimap mm1; - mm1 = std::move(mm1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 806808ed687..00000000000 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::multiset ms1; - auto it1 = ms1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc deleted file mode 100644 index e4ea9b8ad2e..00000000000 --- a/libstdc++-v3/testsuite/23_containers/multiset/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::multiset ms1; - ms1 = std::move(ms1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 9672cc6a860..00000000000 --- a/libstdc++-v3/testsuite/23_containers/set/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::set s1; - auto it1 = s1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc deleted file mode 100644 index ab44ac1a36c..00000000000 --- a/libstdc++-v3/testsuite/23_containers/set/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::set s1; - s1 = std::move(s1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 10dafde93e9..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_map um1; - auto it1 = um1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc deleted file mode 100644 index a93bedfe582..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_map/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_map um1; - um1 = std::move(um1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 91f9205ed61..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_multimap umm1; - auto it1 = umm1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc deleted file mode 100644 index 1948eaa76c3..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_multimap umm1; - umm1 = std::move(umm1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index 2b0d4126eb3..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_multiset ums1; - auto it1 = ums1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc deleted file mode 100644 index d7e0e0bb899..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_multiset ums1; - ums1 = std::move(ums1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index aa105c4a000..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_set us1; - auto it1 = us1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc deleted file mode 100644 index 538eba62bf2..00000000000 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::unordered_set us1; - us1 = std::move(us1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc deleted file mode 100644 index f1d84781c6e..00000000000 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/iterator_self_move_assign_neg.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::vector v1; - auto it1 = v1.begin(); - it1 = std::move(it1); -} - -int main() -{ - test01(); - return 0; -} diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc deleted file mode 100644 index b19bfddaf66..00000000000 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/self_move_assign_neg.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2012-2020 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . -// -// { dg-do run { target c++11 xfail *-*-* } } -// { dg-require-debug-mode "" } - -#include - -void test01() -{ - std::vector v1; - v1 = std::move(v1); -} - -int main() -{ - test01(); - return 0; -}