Commit 0fdd268f by Ian Lance Taylor Committed by Ian Lance Taylor

go-lang.c (go_langhook_post_options): Disable sibling calls by default.

	* go-lang.c (go_langhook_post_options): Disable sibling calls by
	default.

From-SVN: r205915
parent 547a4168
2013-12-11 Ian Lance Taylor <iant@google.com>
* go-lang.c (go_langhook_post_options): Disable sibling calls by
default.
2013-12-10 Ian Lance Taylor <iant@google.com>
* Make-lang.in (check_go_parallelize): Test go-test.exp r* tests
......
......@@ -270,6 +270,10 @@ go_langhook_post_options (const char **pfilename ATTRIBUTE_UNUSED)
if (flag_excess_precision_cmdline == EXCESS_PRECISION_DEFAULT)
flag_excess_precision_cmdline = EXCESS_PRECISION_STANDARD;
/* Tail call optimizations can confuse uses of runtime.Callers. */
if (!global_options_set.x_flag_optimize_sibling_calls)
global_options.x_flag_optimize_sibling_calls = 0;
/* Returning false means that the backend should be used. */
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment