https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106272
Bug ID: 106272 Summary: clang build: new warning ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Recent gcc builds with clang say this: libcpp/include/line-map.h:1882:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] I have little idea what that means, but the line of code is return std::move (label_text (buffer, true)); This new warning appears about 700 times, so it might be important.