This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Backport revision 180159 to gcc 4.6 branch
- From: Chase Douglas <chase dot douglas at canonical dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Dec 2011 11:28:23 -0800
- Subject: Re: Backport revision 180159 to gcc 4.6 branch
- References: <4EF61500.7090201@canonical.com>
On 12/24/2011 10:08 AM, Chase Douglas wrote:
> Hi,
>
> I don't really follow gcc much, so I hope I'm asking this in the right
> place :).
>
> I would like to ask that the fix in revision 180159 be backported to the
> gcc 4.6 branch. It's a trivial change, but without it clang cannot
> compile anything using the default std::shared_ptr constructor. That's
> my understanding at least, based on what I read at
> http://stackoverflow.com/questions/7964360/using-stdshared-ptr-with-clang-and-libstdc.
I realized that what I saw in viewsvn was only the tiny fix to
shared_ptr. The rest of the commit implements a portion of the c++11
spec, and is not trivial.
I'm attempting to build a version of 4.6 with the shared_ptr copy
constructor defined as it is in the patch. When I get it working I'll
send the patch here, unless there's a different procedure for stable
releases?
Thanks!
-- Chase