diff options
author | Dan Albert <danalbert@google.com> | 2016-02-24 13:48:45 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-02-24 13:51:18 -0800 |
commit | b9de1157289455b0ca26daff519d4a0ddcd1fa13 (patch) | |
tree | 4c56cc0a34b91f17033a40a455f26652304f7b8d /gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h | |
parent | 098157a754787181cfa10e71325832448ddcea98 (diff) | |
download | toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.tar.gz toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.tar.bz2 toolchain_gcc-b9de1157289455b0ca26daff519d4a0ddcd1fa13.zip |
Update 4.8.1 to 4.8.3.
My previous drop was the wrong version. The platform mingw is
currently using 4.8.3, not 4.8.1 (not sure how I got that wrong).
From ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.3/gcc-4.8.3.tar.bz2.
Bug: http://b/26523949
Change-Id: Id85f1bdcbbaf78c7d0b5a69e74c798a08f341c35
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h b/gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h deleted file mode 100644 index 723d997c9..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/pthread-init-common.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Common code for the pthread-init-*.c tests. - * - * Origin: Kaveh Ghazi (ghazi@caip.rutgers.edu) 9/27/2006. - */ - -#define _GNU_SOURCE - -#include <pthread.h> -#define UNUSED __attribute__ ((__unused__)) - -void foo(void) -{ -#ifdef PTHREAD_MUTEX_INITIALIZER - pthread_mutex_t pmutex UNUSED = PTHREAD_MUTEX_INITIALIZER; -#endif -#ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP - pthread_mutex_t pmutex_rc UNUSED = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; -#endif -#ifdef PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP - pthread_mutex_t pmutex_ec UNUSED = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; -#endif -#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP - pthread_mutex_t pmutex_ad UNUSED = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP; -#endif -#ifdef PTHREAD_COND_INITIALIZER - pthread_cond_t pcond UNUSED = PTHREAD_COND_INITIALIZER; -#endif -#ifdef PTHREAD_RWLOCK_INITIALIZER - pthread_rwlock_t prwlock UNUSED = PTHREAD_RWLOCK_INITIALIZER; -#endif -#ifdef PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP - pthread_rwlock_t prwlock_nrc UNUSED - = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP; -#endif -#ifdef PTHREAD_ONCE_INIT - pthread_once_t ponce UNUSED = PTHREAD_ONCE_INIT; -#endif -} |