* testsuite/17_intro/names.cc: Undefine 'y' on SPARC/Linux.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 16 Jan 2018 20:40:09 +0000 (20:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 16 Jan 2018 20:40:09 +0000 (20:40 +0000)
From-SVN: r256754

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/names.cc

index 308a7f35501858fe3383dd98b50f3586eeb654d1..e5614460b8e008f2db78d42ea1d08a7bfbcf1c4a 100644 (file)
@@ -1,3 +1,7 @@
+2018-01-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * testsuite/17_intro/names.cc: Undefine 'y' on SPARC/Linux.
+
 2018-01-16  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/83834
index 8781e441720cf8f8cde36435a70aceab73fc7677..4e6cff1fe37860c699ee979407aade2eaade45f4 100644 (file)
 #undef r
 #endif
 
+#if defined (__linux__) && defined (__sparc__)
+#undef y
+#endif
+
 #include <bits/stdc++.h>