diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2006-10-07 16:35:11 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2006-10-07 16:35:11 +0000 |
commit | 6c65aa402bf8ac7bda99c2b8c2510c9ed02269c5 (patch) | |
tree | d9a1e4e898c98fe587672ec11a57e3eeba05e2ef /fixincludes/tests | |
parent | 32a126b2fb8233c0b2be5506f7b913b52e88621c (diff) | |
download | gcc-6c65aa402bf8ac7bda99c2b8c2510c9ed02269c5.zip gcc-6c65aa402bf8ac7bda99c2b8c2510c9ed02269c5.tar.gz gcc-6c65aa402bf8ac7bda99c2b8c2510c9ed02269c5.tar.bz2 |
re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors))
PR target/29300
* inclhack.def (hpux_pthread_initializers): New hack.
* tests/base/sys/pthread.h: New file.
* fixincl.x: Regenerate.
From-SVN: r117537
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/sys/pthread.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fixincludes/tests/base/sys/pthread.h b/fixincludes/tests/base/sys/pthread.h new file mode 100644 index 0000000..9948288 --- /dev/null +++ b/fixincludes/tests/base/sys/pthread.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/pthread.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_PTHREAD_INITIALIZERS_CHECK ) +#define PTHREAD_MUTEX_INITIALIZER { \ + { __PTHREAD_MUTEX_VALID, 0 }, \ + (PTHREAD_MUTEX_DEFAULT | PTHREAD_PROCESS_PRIVATE), \ + __SPNLCK_INITIALIZER, \ + { 0, 0, -1, 0 }, \ + { 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 }, \ + { 0, 0 } \ +} + +#endif /* HPUX_PTHREAD_INITIALIZERS_CHECK */ |