Re: [PATCH] Fix PR80183 : _M_color not moved

2017-03-26 Thread Jonathan Wakely
On 26/03/17 11:54 +0200, Markus Trippelsdorf wrote: clang-format stopped working when compiled with gcc-7. It turned out that an uninitialized _M_color is responsible. The fix is easy, just copy _M_color in the move case, too. Tested on ppc64le. OK for trunk? OK, thanks. A reduced testcase w

[PATCH] Fix PR80183 : _M_color not moved

2017-03-26 Thread Markus Trippelsdorf
clang-format stopped working when compiled with gcc-7. It turned out that an uninitialized _M_color is responsible. The fix is easy, just copy _M_color in the move case, too. Tested on ppc64le. OK for trunk? Thanks. PR libstdc++/80183 * include/bits/stl_tree.h: (_Rb_tree