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

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Similar thing with file gcc/go/gofrontend/names.cc:

trunk.git/gcc/go/gofrontend/names.cc:1027:47: performance: Function parameter
'pkgpath' should be passed by const reference. [passedByValue]

Source code is

std::string
Gogo::type_descriptor_list_symbol(std::string pkgpath)
{
  return pkgpath + "..types";
}

Reply via email to