From 582799e6c3152fc98bbfc14974d5b5366e47ba21 Mon Sep 17 00:00:00 2001 From: jgreenhalgh Date: Fri, 20 Mar 2015 17:20:12 +0000 Subject: [PATCH] [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 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc | 3 +++ libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc | 3 +++ libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc | 3 +++ 4 files changed, 16 insertions(+) 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 -- 2.11.4.GIT