This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r269299 - in /trunk: gcc/go/gofrontend/MERGE li...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Mar 2019 01:23:10 -0000
- Subject: r269299 - in /trunk: gcc/go/gofrontend/MERGE li...
Author: ian
Date: Fri Mar 1 01:23:09 2019
New Revision: 269299
URL: https://gcc.gnu.org/viewcvs?rev=269299&root=gcc&view=rev
Log:
cmd/go: add -O2 to invocation of gccgo
When using the go tool with gccgo, this changes the default
compilation to use -O2. The -gccgoflags option can be used to
override this default. I think this change better corresponds to what
people expect when using the go tool.
Reviewed-on: https://go-review.googlesource.com/c/164378
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/cmd/go/internal/work/gccgo.go