Commit 1c3277ee by Richard Guenther Committed by Richard Biener

lto-streamer-in.c (input_bb): Do not find referenced vars in debug statements.

2011-02-24  Richard Guenther  <rguenther@suse.de>

	* lto-streamer-in.c (input_bb): Do not find referenced vars
	in debug statements.

From-SVN: r170465
parent 5b1cce91
2011-02-24 Richard Guenther <rguenther@suse.de>
* lto-streamer-in.c (input_bb): Do not find referenced vars
in debug statements.
2011-02-23 Jason Merrill <jason@redhat.com> 2011-02-23 Jason Merrill <jason@redhat.com>
* common.opt (fabi-version): Document v5 and v6. * common.opt (fabi-version): Document v5 and v6.
......
...@@ -1097,8 +1097,8 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag, ...@@ -1097,8 +1097,8 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag,
while (tag) while (tag)
{ {
gimple stmt = input_gimple_stmt (ib, data_in, fn, tag); gimple stmt = input_gimple_stmt (ib, data_in, fn, tag);
if (!is_gimple_debug (stmt))
find_referenced_vars_in (stmt); find_referenced_vars_in (stmt);
gsi_insert_after (&bsi, stmt, GSI_NEW_STMT); gsi_insert_after (&bsi, stmt, GSI_NEW_STMT);
/* After the statement, expect a 0 delimiter or the EH region /* After the statement, expect a 0 delimiter or the EH region
......
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