diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-08-21 18:23:22 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-08-21 18:24:40 +0100 |
commit | 9b5d4f6e6689cb80933aa5ac22684c83c7604a11 (patch) | |
tree | 909e48f8ef7846d76379dd01f8da48995a501d78 | |
parent | c44c2a3b0559979e3694ee2ab6860ec95fa3068a (diff) | |
download | gcc-9b5d4f6e6689cb80933aa5ac22684c83c7604a11.zip gcc-9b5d4f6e6689cb80933aa5ac22684c83c7604a11.tar.gz gcc-9b5d4f6e6689cb80933aa5ac22684c83c7604a11.tar.bz2 |
libstdc++: Do not check "cold" name on darwin [PR 96736]
libstdc++-v3/ChangeLog:
PR libstdc++/96736
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Do not
test "cold" on darwin.
* testsuite/17_intro/headers/c++2011/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2014/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2017/all_attributes.cc:
Likewise.
* testsuite/17_intro/headers/c++2020/all_attributes.cc:
Likewise.
5 files changed, 5 insertions, 5 deletions
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 dd28429..4be7b0a 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 @@ -21,10 +21,10 @@ // Ensure the library only uses the __name__ form for attributes. // Don't test 'const' because it is reserved anyway. #define abi_tag 1 -#define cold 1 #ifndef __APPLE__ // darwin headers use these, see PR 64883 # define always_inline 1 +# define cold 1 # define deprecated 1 # define noreturn 1 # define visibility 1 diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc index db00a33..21c69f5 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2011/all_attributes.cc @@ -21,10 +21,10 @@ // Ensure the library only uses the __name__ form for attributes. // Don't test 'const' and 'noreturn' because they are reserved anyway. #define abi_tag 1 -#define cold 1 #ifndef __APPLE__ // darwin headers use these, see PR 64883 # define always_inline 1 +# define cold 1 # define deprecated 1 # define visibility 1 #endif 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 3322c2c..a041ebb 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 @@ -21,10 +21,10 @@ // Ensure the library only uses the __name__ form for attributes. // Don't test 'const' and 'noreturn' because they are reserved anyway. #define abi_tag 1 -#define cold 1 #ifndef __APPLE__ // darwin headers use these, see PR 64883 # define always_inline 1 +# define cold 1 # define deprecated 1 # define visibility 1 #endif diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc index a0d6773..812066d 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc @@ -21,10 +21,10 @@ // Ensure the library only uses the __name__ form for attributes. // Don't test 'const' and 'noreturn' because they are reserved anyway. #define abi_tag 1 -#define cold 1 #ifndef __APPLE__ // darwin headers use these, see PR 64883 # define always_inline 1 +# define cold 1 # define visibility 1 #endif #define packed 1 diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc index da8f0e4..d78f13e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2020/all_attributes.cc @@ -21,10 +21,10 @@ // Ensure the library only uses the __name__ form for attributes. // Don't test 'const' and 'noreturn' because they are reserved anyway. #define abi_tag 1 -#define cold 1 #ifndef __APPLE__ // darwin headers use these, see PR 64883 # define always_inline 1 +# define cold 1 # define visibility 1 #endif #define packed 1 |