On 4/2/12 6:25 PM, Jeffrey Yasskin wrote:
2012-04-02 Jeffrey Yasskin
* libstdc++-v3/include/bits/stl_algo.h (__stable_partition_adaptive):
Avoid move-assigning an object to itself by explicitly testing
for identity.
* libstdc++-v3/testsuite/25_algorithms/stab
My original test case passes with this change.
On Mon, Apr 2, 2012 at 3:25 PM, Jeffrey Yasskin wrote:
> I'll send the patches for trunk, gcc-4_7-branch, and gcc-4_6-branch in
> a separate thread later today or tomorrow, but I need to get the
> google branch fixed before that. Paolo suggested this
I'll send the patches for trunk, gcc-4_7-branch, and gcc-4_6-branch in
a separate thread later today or tomorrow, but I need to get the
google branch fixed before that. Paolo suggested this simple fix was
the right approach for the gcc-4_6-branch, so I'm using it for
google/gcc-4_6 too. I'll be hap