On 24 April 2014 04:47, Tim Shen wrote: >> Booted and tested with -m32 and -m64. > > I should give an explanation: > > When traversing a graph in _M_clone(), it should stop at a node with > id _M_end. However, if _M_end has other outgoing edge (_M_alt), the > edge should be concerned too. So this patch move the _M_alt part > before the _M_end test, thus _M_alt must be traversed.
Unless I'm doing something wrong the new tests you added already give the right results, do you have a testcase that fails with the current code?