Commit f44526e3 by Ian Lance Taylor Committed by Ian Lance Taylor

re PR tree-optimization/91663 (split function can be re-inlined, leaving bad stack trace)

	PR tree-optimization/91663
	* go-lang.c (go_langhook_post_options): Clear
	flag_partial_inlining.

From-SVN: r275396
parent 7d394f77
2019-09-04 Ian Lance Taylor <iant@golang.org>
PR tree-optimization/91663
* go-lang.c (go_langhook_post_options): Clear
flag_partial_inlining.
2019-08-23 Jakub Jelinek <jakub@redhat.com>
PR middle-end/91283
......
......@@ -300,6 +300,11 @@ go_langhook_post_options (const char **pfilename ATTRIBUTE_UNUSED)
if (!global_options_set.x_flag_optimize_sibling_calls)
global_options.x_flag_optimize_sibling_calls = 0;
/* Partial inlining can confuses uses of runtime.Callers.
See https://gcc.gnu.org/PR91663. */
if (!global_options_set.x_flag_partial_inlining)
global_options.x_flag_partial_inlining = 0;
/* If the debug info level is still 1, as set in init_options, make
sure that some debugging type is selected. */
if (global_options.x_debug_info_level == DINFO_LEVEL_TERSE
......
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