aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-08-20 18:52:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2017-08-20 18:52:59 +0000
commitab7fc02ec120cec4639921db2ca41e2af898f366 (patch)
tree312de0e5efd16239cc2bba68b7b51f16c932fbaa
parent8e7b84e86a136352788777d865da7d1d5788d120 (diff)
downloadgcc-ab7fc02ec120cec4639921db2ca41e2af898f366.zip
gcc-ab7fc02ec120cec4639921db2ca41e2af898f366.tar.gz
gcc-ab7fc02ec120cec4639921db2ca41e2af898f366.tar.bz2
re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors))
PR testsuite/81056 * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__ From-SVN: r251208
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/17_intro/names.cc5
2 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 1b17da2..ddba9e2 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-20 John David Anglin <danglin@gcc.gnu.org>
+
+ PR testsuite/81056
+ * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__
+
2017-08-18 Jonathan Wakely <jwakely@redhat.com>
* include/bits/hashtable_policy.h (_ReuseOrAllocNode): Remove
diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc
index c525861..1873deb 100644
--- a/libstdc++-v3/testsuite/17_intro/names.cc
+++ b/libstdc++-v3/testsuite/17_intro/names.cc
@@ -107,4 +107,9 @@
#undef y
#endif
+#ifdef __hpux__
+#undef d
+#undef r
+#endif
+
#include <bits/stdc++.h>