On Tue, Jan 22, 2019 at 7:55 AM 'simon place' via golang-nuts <golang-nuts@googlegroups.com> wrote: > > thanks for the info, answered my OP, but raised some more questions... > > presumably the go runtime is compiled with gccgo? so would that mean there > are possibly cloned functions in it?
When using gccgo, yes, and yes. > i can see that gcc can clone for know value (constant) parameters, but can't > see any other techniques, surely knowing a return value isn't used, a > particular Go thing not possible in other gcc languages, might be able to be > optimised more significantly? Yes, that is true. gccgo does not currently implement the optimization of cloning a function for the case where a result parameter is not used. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.