This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60497] unique_ptr<T> tries to complete its type T even though it's not required to be a complete type


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60497

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue May 13 17:22:08 2014
New Revision: 210388

URL: http://gcc.gnu.org/viewcvs?rev=210388&root=gcc&view=rev
Log:
    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.

Added:
    trunk/libstdc++-v3/testsuite/20_util/bind/60497.cc
    trunk/libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc
    trunk/libstdc++-v3/testsuite/30_threads/call_once/60497.cc
    trunk/libstdc++-v3/testsuite/30_threads/unique_lock/cons/60497.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/debug/array
    trunk/libstdc++-v3/include/profile/array
    trunk/libstdc++-v3/include/std/array
    trunk/libstdc++-v3/include/std/functional
    trunk/libstdc++-v3/include/std/mutex


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]