diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2015-03-28 17:27:22 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2015-03-28 17:27:22 +0000 |
commit | f5ffa61d759be59cc9f462d67c60e6154d9ac4b9 (patch) | |
tree | 1c7f46b709b9850b04ebd9af4f905b6ecb35970b /fixincludes/inclhack.def | |
parent | 9ddb384381f34ef13cf665266a86687f63a9f29d (diff) | |
download | gcc-f5ffa61d759be59cc9f462d67c60e6154d9ac4b9.zip gcc-f5ffa61d759be59cc9f462d67c60e6154d9ac4b9.tar.gz gcc-f5ffa61d759be59cc9f462d67c60e6154d9ac4b9.tar.bz2 |
re PR libstdc++/65500 (FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors))
PR libstdc++/65500
* inclhack.def (hpux11_lwp_rwlock_valid): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/pthread.h [HPUX11_LWP_RWLOCK_VALID_CHECK]: New test.
From-SVN: r221757
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r-- | fixincludes/inclhack.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 5e906f4..314e283 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -2074,6 +2074,19 @@ fix = { }; /* + * Fix hpux11 __LWP_RWLOCK_VALID define + */ +fix = { + hackname = hpux11_lwp_rwlock_valid; + mach = "*-hp-hpux11*"; + files = sys/pthread.h; + select = "#define __LWP_RWLOCK_VALID[ \t]*0x8c91"; + c_fix = format; + c_fix_arg = "#define __LWP_RWLOCK_VALID -29551"; + test_text = "#define __LWP_RWLOCK_VALID 0x8c91"; +}; + +/* * hpux sendfile() */ fix = { |