[Bug go/94766] gcc/go/gofrontend/gogo.h:1076:25: performance: Function parameter 'afnname' should be passed by const reference. [passedByValue]

2020-05-11 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94766 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/94766] gcc/go/gofrontend/gogo.h:1076:25: performance: Function parameter 'afnname' should be passed by const reference. [passedByValue]

2020-04-25 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94766 --- Comment #1 from David Binderman --- 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