https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106272

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
I just noticed similar four lines earlier:

libcpp/include/line-map.h:1876:12: warning: moving a temporary object prevents
copy elision [-Wpessimizing-move]

Source code is

    return std::move (label_text (const_cast <char *> (buffer), false));

About 700 mentions of this one, as well.

Reply via email to