summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-03 18:14:20 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-03 18:14:20 +0000
commitc57b30368a08ef092e0a3d27c3fc47da0cfc30c2 (patch)
tree6126629b856aea3867f1bcff68534c7c40909ac0 /libstdc++-v3
parentb7c08268d9d5b25bcbc882dad9d16dd58b4da2c8 (diff)
downloadgcc-c57b30368a08ef092e0a3d27c3fc47da0cfc30c2.tar.gz
2015-03-03 Iain Sandoe <iain@codesourcery.com>
PR libstdc++/64883 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check visibility for Darwin. * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and also deprecated. * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog9
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc7
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc7
4 files changed, 20 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 33a90dc5127..265fc7a4835 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,12 @@
+2015-03-03 Iain Sandoe <iain@codesourcery.com>
+
+ PR libstdc++/64883
+ * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
+ visibility for Darwin.
+ * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
+ also deprecated.
+ * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
+
2015-03-02 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/65279
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
index 76a935e1186..6fc362adae3 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
@@ -26,11 +26,11 @@
// darwin headers use these, see PR 64883
# define deprecated 1
# define noreturn 1
+# define visibility 1
#endif
#define packed 1
#define pure 1
#define unused 1
-#define visibility 1
#include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
#include <bits/extc++.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
index c7ec27ae550..0726e3f82f0 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
@@ -22,11 +22,14 @@
// Don't test 'const' and 'noreturn' because they are reserved anyway.
#define abi_tag 1
#define always_inline 1
-#define deprecated 1
+#ifndef __APPLE__
+// darwin headers use these, see PR 64883
+# define visibility 1
+# define deprecated 1
+#endif
#define packed 1
#define pure 1
#define unused 1
-#define visibility 1
#include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
#include <codecvt> // TODO: this is missing from <bits/stdc++.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
index 533a6f14e9a..06bcb8e03e2 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
@@ -22,11 +22,14 @@
// Don't test 'const' and 'noreturn' because they are reserved anyway.
#define abi_tag 1
#define always_inline 1
-#define deprecated 1
+#ifndef __APPLE__
+// darwin headers use these, see PR 64883
+# define deprecated 1
+# define visibility 1
+#endif
#define packed 1
#define pure 1
#define unused 1
-#define visibility 1
#include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
#include <shared_mutex> // TODO: this is missing from <bits/stdc++.h>