diff options
author | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-20 17:20:12 +0000 |
---|---|---|
committer | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-20 17:20:12 +0000 |
commit | 582799e6c3152fc98bbfc14974d5b5366e47ba21 (patch) | |
tree | b82339aab2b1d8b9c0136d444ca64226af288402 /libstdc++-v3 | |
parent | 70da439c4f6813eb282ae9a734ffc919fbc8fa10 (diff) | |
download | gcc-582799e6c3152fc98bbfc14974d5b5366e47ba21.tar.gz |
[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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221538 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
4 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ac13084ae38..787332fe71d 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 6fc362adae3..7bc7ffe868c 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 0726e3f82f0..8d93fd9dc19 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 06bcb8e03e2..c482fbd9c4d 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> |