Commit e7119705 by Jan Hubicka Committed by Jan Hubicka

tree-inline.c (insert_init_stmt): Insert sequence even when not in SSA form.

	* tree-inline.c (insert_init_stmt): Insert sequence even when
	not in SSA form.

From-SVN: r139790
parent 6528281d
2008-08-29 Jan Hubicka <jh@suse.cz>
* tree-inline.c (insert_init_stmt): Insert sequence even when
not in SSA form.
2008-08-29 Jeff Law <law@redhat.com>
* mn10300.c (mn10300_secondary_reload_class): We need secondary
......
......@@ -1868,14 +1868,14 @@ insert_init_stmt (basic_block bb, gimple init_stmt)
i = gsi_start (seq);
gimple_regimplify_operands (init_stmt, &i);
if (gimple_in_ssa_p (cfun)
&& init_stmt
if (init_stmt
&& !gimple_seq_empty_p (seq))
{
/* The replacement can expose previously unreferenced
variables. */
for (i = gsi_start (seq); !gsi_end_p (i); gsi_next (&i))
find_new_referenced_vars (gsi_stmt (i));
if (gimple_in_ssa_p (cfun))
for (i = gsi_start (seq); !gsi_end_p (i); gsi_next (&i))
find_new_referenced_vars (gsi_stmt (i));
/* Insert the gimplified sequence needed for INIT_STMT
after SI. INIT_STMT will be inserted after SEQ. */
......
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