From: James Greenhalgh Date: Fri, 20 Mar 2015 17:20:12 +0000 (+0000) Subject: [Patch Testsuite] Make all_attributes.cc in to (almost_)all_attributes.cc for ARM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c00acee464fa8e4c4fb4717b342f2b2fc4d4eb3f;p=gcc.git [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 --- 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 + + * 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 * 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 // TODO: this is missing from #include 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 // TODO: this is missing from #include // TODO: this is missing from 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 // TODO: this is missing from #include // TODO: this is missing from