{"push_id":2299997231,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e148068360699f24118950b728f23a5c98e1f85e","before":"c9eeb12ed4e39c892ac1b86d02e404a49a71d726","commits":[{"sha":"e148068360699f24118950b728f23a5c98e1f85e","author":{"name":"Cherry Zhang","email":"94eb955ab1250739a80cef304b1260a80cf44040@google.com"},"message":"compiler: turn on escape analysis by default\n\nThe escape analysis now runs by default. It can be disabled with\nthe negative flag, -fno-go-optimize-allocs.\n\nCorresponding change in the GCC backend:\n\nIndex: gcc/go/go-c.h\n===================================================================\n--- gcc/go/go-c.h\t(revision 257310)\n+++ gcc/go/go-c.h\t(working copy)\n@@ -29,7 +29,7 @@\n    interface.  */\n\n extern int go_enable_dump (const char*);\n-extern int go_enable_optimize (const char*);\n+extern int go_enable_optimize (const char*, int);\n\n extern void go_add_search_path (const char*);\n\nIndex: gcc/go/go-lang.c\n===================================================================\n--- gcc/go/go-lang.c\t(revision 257310)\n+++ gcc/go/go-lang.c\t(working copy)\n@@ -194,7 +194,7 @@\n go_langhook_handle_option (\n     size_t scode,\n     const char *arg,\n-    int value ATTRIBUTE_UNUSED,\n+    int value,\n     int kind ATTRIBUTE_UNUSED,\n     location_t loc ATTRIBUTE_UNUSED,\n     const struct cl_option_handlers *handlers ATTRIBUTE_UNUSED)\n@@ -251,7 +251,7 @@\n       break;\n\n     case OPT_fgo_optimize_:\n-      ret = go_enable_optimize (arg) ? true : false;\n+      ret = go_enable_optimize (arg, value) ? true : false;\n       break;\n\n     case OPT_fgo_pkgpath_:\nIndex: gcc/go/lang.opt\n===================================================================\n--- gcc/go/lang.opt\t(revision 257310)\n+++ gcc/go/lang.opt\t(working copy)\n@@ -58,7 +58,7 @@\n -fgo-dump-<type>\tDump Go frontend internal information.\n\n fgo-optimize-\n-Go Joined RejectNegative\n+Go Joined\n -fgo-optimize-<type>\tTurn on optimization passes in the frontend.\n\n fgo-pkgpath=\n\nChange-Id: I7f54f6b762473151b02abb6e6b2137e2a673553f\nReviewed-on: https://go-review.googlesource.com/86247\nReviewed-by: Ian Lance Taylor <iant@golang.org>","distinct":true,"url":"https://api.github.com/repos/golang/gofrontend/commits/e148068360699f24118950b728f23a5c98e1f85e"}]}
{"actor":{"display_login":"gopherbot"}}