Remove include directives for deleted Profile Mode headers
* include/std/array: Remove references to profile mode. * include/std/bitset: Likewise. * include/std/deque: Likewise. * include/std/forward_list: Likewise. * include/std/list: Likewise. * include/std/map: Likewise. * include/std/set: Likewise. * include/std/unordered_map: Likewise. * include/std/unordered_set: Likewise. * include/std/vector: Likewise. * testsuite/17_intro/headers/c++1998/profile_mode.cc: New test. * testsuite/17_intro/headers/c++2011/profile_mode.cc: New test. From-SVN: r276152
This commit is contained in:
parent
25a0f9cfae
commit
8eb60b2f22
|
@ -1,3 +1,18 @@
|
||||||
|
2019-09-26 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/std/array: Remove references to profile mode.
|
||||||
|
* include/std/bitset: Likewise.
|
||||||
|
* include/std/deque: Likewise.
|
||||||
|
* include/std/forward_list: Likewise.
|
||||||
|
* include/std/list: Likewise.
|
||||||
|
* include/std/map: Likewise.
|
||||||
|
* include/std/set: Likewise.
|
||||||
|
* include/std/unordered_map: Likewise.
|
||||||
|
* include/std/unordered_set: Likewise.
|
||||||
|
* include/std/vector: Likewise.
|
||||||
|
* testsuite/17_intro/headers/c++1998/profile_mode.cc: New test.
|
||||||
|
* testsuite/17_intro/headers/c++2011/profile_mode.cc: New test.
|
||||||
|
|
||||||
2019-09-25 Jonathan Wakely <jwakely@redhat.com>
|
2019-09-25 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/bits/regex.h
|
* include/bits/regex.h
|
||||||
|
|
|
@ -422,10 +422,6 @@ _GLIBCXX_END_NAMESPACE_VERSION
|
||||||
# include <debug/array>
|
# include <debug/array>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/array>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // C++11
|
#endif // C++11
|
||||||
|
|
||||||
#endif // _GLIBCXX_ARRAY
|
#endif // _GLIBCXX_ARRAY
|
||||||
|
|
|
@ -1593,8 +1593,4 @@ _GLIBCXX_END_NAMESPACE_VERSION
|
||||||
# include <debug/bitset>
|
# include <debug/bitset>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/bitset>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _GLIBCXX_BITSET */
|
#endif /* _GLIBCXX_BITSET */
|
||||||
|
|
|
@ -72,10 +72,6 @@
|
||||||
# include <debug/deque>
|
# include <debug/deque>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/deque>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -43,10 +43,6 @@
|
||||||
# include <debug/forward_list>
|
# include <debug/forward_list>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/forward_list>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,10 +67,6 @@
|
||||||
# include <debug/list>
|
# include <debug/list>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/list>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,10 +67,6 @@
|
||||||
# include <debug/map>
|
# include <debug/map>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/map>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,10 +67,6 @@
|
||||||
# include <debug/set>
|
# include <debug/set>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/set>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,10 +52,6 @@
|
||||||
# include <debug/unordered_map>
|
# include <debug/unordered_map>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/unordered_map>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,10 +52,6 @@
|
||||||
# include <debug/unordered_set>
|
# include <debug/unordered_set>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/unordered_set>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,10 +76,6 @@
|
||||||
# include <debug/vector>
|
# include <debug/vector>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _GLIBCXX_PROFILE
|
|
||||||
# include <profile/vector>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
// Copyright (C) 2019 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
|
||||||
|
// <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// { dg-options "-std=gnu++98" }
|
||||||
|
// { dg-do compile }
|
||||||
|
|
||||||
|
// This macro should have no effect now
|
||||||
|
#define _GLIBCXX_PROFILE 1
|
||||||
|
#include <bits/extc++.h>
|
|
@ -0,0 +1,23 @@
|
||||||
|
// Copyright (C) 2019 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
|
||||||
|
// <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// { dg-options "-std=gnu++11" }
|
||||||
|
// { dg-do compile { target c++11 } }
|
||||||
|
|
||||||
|
// This macro should have no effect now
|
||||||
|
#define _GLIBCXX_PROFILE 1
|
||||||
|
#include <vector>
|
Loading…
Reference in New Issue