This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53872] [C++11] ADL bug in std::thread
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jul 2012 13:56:04 +0000
- Subject: [Bug libstdc++/53872] [C++11] ADL bug in std::thread
- Auto-submitted: auto-generated
- References: <bug-53872-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53872
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-07-06 13:56:04 UTC ---
Author: paolo
Date: Fri Jul 6 13:55:58 2012
New Revision: 189329
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189329
Log:
2012-07-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/53872
* include/std/thread (thread::_M_make_routine): Qualify make_shared
to prevent ADL.
* testsuite/30_threads/thread/adl.cc: New.
Added:
trunk/libstdc++-v3/testsuite/30_threads/thread/adl.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/thread