https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87278
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Tue Sep 11 11:50:39 2018 New Revision: 264207 URL: https://gcc.gnu.org/viewcvs?rev=264207&root=gcc&view=rev Log: PR libstdc++/87278 restore support for std::make_shared<volatile T>() PR libstdc++/87278 * include/bits/shared_ptr.h (make_shared): Use remove_cv instead of remove_const. * testsuite/20_util/shared_ptr/creation/87278.cc: New test. Added: trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/87278.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/shared_ptr.h