aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-11-09 23:45:36 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-11-10 12:01:27 +0000
commit80fe172ba9820199c2bbce5d0611ffca27823049 (patch)
tree5795b6718c5423c1fe53923759a25f18e992b726 /gcc/tree-vectorizer.c
parentb2cd32b743ba440e75505ce30c6b5c592ed144ea (diff)
downloadgcc-80fe172ba9820199c2bbce5d0611ffca27823049.zip
gcc-80fe172ba9820199c2bbce5d0611ffca27823049.tar.gz
gcc-80fe172ba9820199c2bbce5d0611ffca27823049.tar.bz2
libstdc++: Disable gthreads weak symbols for glibc 2.34 [PR103133]
Since Glibc 2.34 all pthreads symbols are defined directly in libc not libpthread, and since Glibc 2.32 we have used __libc_single_threaded to avoid unnecessary locking in single-threaded programs. This means there is no reason to avoid linking to libpthread now, and so no reason to use weak symbols defined in gthr-posix.h for all the pthread_xxx functions. libstdc++-v3/ChangeLog: PR libstdc++/100748 PR libstdc++/103133 * config/os/gnu-linux/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define for glibc 2.34 and later.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions