glibc/sysdeps/htl
Martin Sebor a1561c3bbe Add __attribute_access_none to disable GCC warnings [BZ #27714]
GCC 11 warns when a pointer to an uninitialized object is passed
to a function that takes a const-qualified argument.  This is done
on the assumption that most such functions read from the object.
For the rare case of a function that doesn't, GCC 11 extends
attribute access to add a new mode called none.

POSIX pthread_setspecific() is one such rare function that takes
a const void* argument but that doesn't read from the object it
points to.  To suppress the -Wmaybe-uninitialized issued by GCC
11 when the address of an uninitialized object is passed to it
(e.g., the result of malloc()), this change #defines
__attr_access_none in cdefs.h and uses the macro on the function
in sysdeps/htl/pthread.h and sysdeps/nptl/pthread.h.
2021-04-27 13:01:55 -06:00
..
bits Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
include htl: Add wrapper header for <semaphore.h> with hidden __sem_post 2020-06-24 13:38:08 +02:00
flockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ftrylockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
funlockfile.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
futex-internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Implies hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
libc-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
libc-lockP.h Remove pthread_key_create-related internals from libc-lock.h 2021-04-21 19:49:51 +02:00
Makeconfig hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
Makefile htl: Add __errno_location and __h_errno_location 2020-01-04 19:37:53 +01:00
old_pt-atfork.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-atfork.c fork.h: replace with register-atfork.h 2021-03-29 21:41:09 +02:00
pt-attr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getguardsize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstack.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstackaddr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-getstacksize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setguardsize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstack.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstackaddr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr-setstacksize.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-attr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrier.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-barrierattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-brdcast.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-signal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-timedwait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-cond.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-getclock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-setclock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-condattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-destroy-specific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-equal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getconcurrency.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getcpuclockid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-getspecific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-init-specific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-key-create.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-key-delete.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-key.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-once.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-attr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-rdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-timedrdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-timedwrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-tryrdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-trywrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-unlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlock-wrlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-getpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-rwlockattr-setpshared.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setconcurrency.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setschedprio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-setspecific.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pt-startup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread-functions.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread.h Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
pthreadP.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
raise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-getvalue.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-post.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-timedwait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-trywait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sem-waitfast.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stdio-lock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Subdirs hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
thrd_current.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
timer_routines.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00