aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-04-14 20:48:54 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-04-15 16:56:44 +0100
commit6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c (patch)
tree9946f22c00ca3efa238fc6176913e15a9a4e9361 /gcc/tree-vect-loop.c
parent4d224603d38d3e88f2a3c215b65c12c5f0da1d8d (diff)
downloadgcc-6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c.zip
gcc-6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c.tar.gz
gcc-6c0c7fc6236470a533675cd3cd1ebb1cc3dd112c.tar.bz2
libstdc++: Move atomic functions to libsupc++ [PR 96657]
The changes for PR libstdc++/64735 mean that libsupc++ function might now depend on the __exchange_and_add and __atomic_add functions defined in config/cpu/*/atomicity.h which is not compiled into libsupc++. This causes a link failure for some targets when trying to use libsupc++ without the rest of libstdc++. This patch simply moves the definitions of those functions into libsupc++ so that they are available there. libstdc++-v3/ChangeLog: PR libstdc++/96657 * libsupc++/Makefile.am: Add atomicity.cc here. * src/c++98/Makefile.am: Remove it from here. * libsupc++/Makefile.in: Regenerate. * src/c++98/Makefile.in: Regenerate. * testsuite/18_support/exception_ptr/96657.cc: New test.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions