re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it...
authorJonathan Wakely <jwakely@redhat.com>
Tue, 13 May 2014 17:22:08 +0000 (18:22 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 13 May 2014 17:22:08 +0000 (18:22 +0100)
commitb82f988e8d21c709426d691329cf025e978d94ed
tree28ad5ef3ed4989d00d219267165efbbd8fdf08f6
parent54fde020ccdc4bbb163fb6d481743342d9ee2deb
re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type)

PR libstdc++/60497
* include/debug/array (get): Qualify call to other get overload.
* include/profile/array (get): Likewise.
* include/std/array (get): Likewise.
* include/std/functional (_Mu, _Bind, _Bind_result): Qualify std::get.
* include/std/mutex (unique_lock, call_once): Use __addressof.
(__unlock_impl): Remove unused template.
(__try_to_lock): Declare inline.
(__try_lock_impl::__do_try_lock): Qualify function calls.
(lock): Avoid narrowing conversion.
* testsuite/20_util/bind/60497.cc: New.
* testsuite/23_containers/array/element_access/60497.cc: New.
* testsuite/30_threads/call_once/60497.cc: New.
* testsuite/30_threads/unique_lock/cons/60497.cc: New.

From-SVN: r210388
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/array
libstdc++-v3/include/profile/array
libstdc++-v3/include/std/array
libstdc++-v3/include/std/functional
libstdc++-v3/include/std/mutex
libstdc++-v3/testsuite/20_util/bind/60497.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/call_once/60497.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc [new file with mode: 0644]