diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2015-03-20 17:20:12 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2015-03-20 17:20:12 +0000 |
commit | c00acee464fa8e4c4fb4717b342f2b2fc4d4eb3f (patch) | |
tree | b82339aab2b1d8b9c0136d444ca64226af288402 | |
parent | f51cd72afc933c21d2aa09aa51ddda0729ced4f5 (diff) | |
download | gcc-c00acee464fa8e4c4fb4717b342f2b2fc4d4eb3f.zip gcc-c00acee464fa8e4c4fb4717b342f2b2fc4d4eb3f.tar.gz gcc-c00acee464fa8e4c4fb4717b342f2b2fc4d4eb3f.tar.bz2 |
[Patch Testsuite] Make all_attributes.cc in to (almost_)all_attributes.cc for ARM.
* 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
4 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ac13084..787332f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. 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 6fc362a..7bc7ffe 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 @@ -30,7 +30,10 @@ #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> 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 0726e3f..8d93fd9 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 @@ -29,7 +29,10 @@ #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> 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 06bcb8e..c482fbd 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 @@ -29,7 +29,10 @@ #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> |