https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Ian Lance Taylor <i...@gcc.gnu.org>: https://gcc.gnu.org/g:528ed794016472a209d6cfaa921307f30eee58da commit r11-8663-g528ed794016472a209d6cfaa921307f30eee58da Author: Ian Lance Taylor <i...@golang.org> Date: Tue Jun 29 11:00:13 2021 -0700 compiler: in composite literals use temps only for interfaces For a composite literal we only need to introduce a temporary variable if we may be converting to an interface type, so only do it then. This saves over 80% of compilation time when using gccgo to compile cmd/internal/obj/x86, as the GCC middle-end spends a lot of time pointlessly computing interactions between temporary variables. For PR debug/101064 For golang/go#46600 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/331513