[Bug go/78525] New: use -O2 for "go build" by default
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 25 10:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78525
Bug ID: 78525
Summary: use -O2 for "go build" by default
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: trippels at gcc dot gnu.org
CC: cmang at google dot com
Target Milestone: ---
Currently "go build" builds binaries without any optimization.
This is in contrast to the official "go build" command, that optimizes by
default.
Wouldn't it make sense to add "-O2" (or even -O3) to the default gccgoflags?
More information about the Gcc-bugs
mailing list