Commit 2b8ce621 by Kwok Cheung Yeung Committed by Kwok Cheung Yeung

Remove inline debug markers if support not enabled on accelerator compiler

2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>

	gcc/
	* lto-streamer-in.c (input_function): Remove streamed-in inline debug
	markers	if debug_inline_points is false.

From-SVN: r280062
parent 160e95dc
2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
* lto-streamer-in.c (input_function): Remove streamed-in inline debug
markers if debug_inline_points is false.
2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
* config.gcc (aarch64*-*-*): Add aarch64-sve-builtins-sve2.o to
......
......@@ -1135,8 +1135,9 @@ input_function (tree fn_decl, class data_in *data_in,
we'd later ICE on. */
tree block;
if (gimple_debug_inline_entry_p (stmt)
&& (block = gimple_block (stmt))
&& !inlined_function_outer_scope_p (block))
&& (((block = gimple_block (stmt))
&& !inlined_function_outer_scope_p (block))
|| !debug_inline_points))
remove = true;
if (is_gimple_call (stmt)
&& gimple_call_internal_p (stmt))
......
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