[Patch Testsuite] Make all_attributes.cc in to (almost_)all_attributes.cc for ARM.
authorJames Greenhalgh <james.greenhalgh@arm.com>
Fri, 20 Mar 2015 17:20:12 +0000 (17:20 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 20 Mar 2015 17:20:12 +0000 (17:20 +0000)
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
test for unused for ARM.
* testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
* testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.

From-SVN: r221538

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc

index ac13084..787332f 100644 (file)
@@ -1,3 +1,10 @@
+2015-03-20  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
+       test for unused for ARM.
+       * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
+       * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
+
 2015-03-20  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
index 6fc362a..7bc7ffe 100644 (file)
 #endif
 #define packed 1
 #define pure 1
+// glibc's sysdeps/unix/sysv/linux/arm/sys/ucontext.h uses this on ARM.
+#ifndef __arm__
 #define unused 1
+#endif
 
 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <bits/extc++.h>
index 0726e3f..8d93fd9 100644 (file)
 #endif
 #define packed 1
 #define pure 1
+// glibc's sysdeps/unix/sysv/linux/arm/sys/ucontext.h uses this on ARM.
+#ifndef __arm__
 #define unused 1
+#endif
 
 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <codecvt>       // TODO: this is missing from <bits/stdc++.h>
index 06bcb8e..c482fbd 100644 (file)
 #endif
 #define packed 1
 #define pure 1
+// glibc's sysdeps/unix/sysv/linux/arm/sys/ucontext.h uses this on ARM.
+#ifndef __arm__
 #define unused 1
+#endif
 
 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <shared_mutex>  // TODO: this is missing from <bits/stdc++.h>