-
- Downloads
libstdc++/70766 use std::addressof instead of operator&
PR libstdc++/70766 * include/bits/basic_ios.tcc (basic_ios::_M_cache_locale): Use __addressof. * include/bits/stream_iterator.h (istream_iterator, ostream_iterator): Likewise. * include/std/atomic (atomic<_Tp>): Likewise. * include/std/shared_mutex (shared_lock): Likewise. * testsuite/24_iterators/istream_iterator/70766.cc: New test. * testsuite/24_iterators/ostream_iterator/70766.cc : New test. * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number. * testsuite/29_atomics/atomic/70766.cc: New test. * testsuite/30_threads/shared_lock/70766.cc: New test. From-SVN: r235565
Showing
- libstdc++-v3/ChangeLog 13 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/basic_ios.tcc 3 additions, 3 deletionslibstdc++-v3/include/bits/basic_ios.tcc
- libstdc++-v3/include/bits/stream_iterator.h 4 additions, 3 deletionslibstdc++-v3/include/bits/stream_iterator.h
- libstdc++-v3/include/std/atomic 25 additions, 10 deletionslibstdc++-v3/include/std/atomic
- libstdc++-v3/include/std/shared_mutex 9 additions, 6 deletionslibstdc++-v3/include/std/shared_mutex
- libstdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc 44 additions, 0 deletions...tdc++-v3/testsuite/24_iterators/istream_iterator/70766.cc
- libstdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc 37 additions, 0 deletions...tdc++-v3/testsuite/24_iterators/ostream_iterator/70766.cc
- libstdc++-v3/testsuite/29_atomics/atomic/60695.cc 1 addition, 1 deletionlibstdc++-v3/testsuite/29_atomics/atomic/60695.cc
- libstdc++-v3/testsuite/29_atomics/atomic/70766.cc 55 additions, 0 deletionslibstdc++-v3/testsuite/29_atomics/atomic/70766.cc
- libstdc++-v3/testsuite/30_threads/shared_lock/70766.cc 44 additions, 0 deletionslibstdc++-v3/testsuite/30_threads/shared_lock/70766.cc
Loading
Please register or sign in to comment