Commit e24c4814 by Steven Bosscher

tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at this point, so assert that.

	* tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at
	this point, so assert that.

From-SVN: r137159
parent 25e87727
2008-06-26 Steven Bosscher <steven@gcc.gnu.org>
* tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at
this point, so assert that.
2008-06-26 Steven Bosscher <steven@gcc.gnu.org>
* cfganal.c: Include vec.h and vecprim.h.
(compute_idf): Import from...
* tree-into-ssa (compute_idf): ...here.
......
......@@ -1111,8 +1111,8 @@ insert_phi_nodes_for (tree var, bitmap phi_insertion_points, bool update_p)
}
else
{
tree sym = DECL_P (var) ? var : SSA_NAME_VAR (var);
phi = create_phi_node (sym, bb);
gcc_assert (DECL_P (var));
phi = create_phi_node (var, bb);
}
/* Mark this PHI node as interesting for update_ssa. */
......
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