diff options
author | Cherry Zhang <cherryyz@google.com> | 2018-02-02 00:00:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-02 00:00:04 +0000 |
commit | 2794baab686973f39045327970e4a7302c31ea88 (patch) | |
tree | 86c02d77baa7232c84a3d624601cc0f9e7405174 /gcc/cp/lambda.c | |
parent | 90bf94878bea2883158d02370cb2692d4b2ed4a1 (diff) | |
download | gcc-2794baab686973f39045327970e4a7302c31ea88.zip gcc-2794baab686973f39045327970e4a7302c31ea88.tar.gz gcc-2794baab686973f39045327970e4a7302c31ea88.tar.bz2 |
compiler: turn on escape analysis by default
The escape analysis now runs by default. It can be disabled with
the negative flag, -fno-go-optimize-allocs.
Reviewed-on: https://go-review.googlesource.com/86247
* lang.opt (fgo-optimize): Remove RejectNegative.
* go-c.h (go_enable_optimize): Update declaration to take value
argument.
* go-lang.c (go_langhook_handle_option): Pass value to
go_enable_optimize.
* gccgo.texi (Invoking gccgo): Update -fgo-optimize-allocs doc.
From-SVN: r257319
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions