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.carl...@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 --- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-07-06 13:56:31 UTC --- Author: paolo Date: Fri Jul 6 13:56:24 2012 New Revision: 189330 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189330 Log: 2012-07-06 Paolo Carlini <paolo.carl...@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: branches/gcc-4_7-branch/libstdc++-v3/testsuite/30_threads/thread/adl.cc Modified: branches/gcc-4_7-branch/libstdc++-v3/ChangeLog branches/gcc-4_7-branch/libstdc++-v3/include/std/thread