@@ -1,5 +1,9 @@
2014-11-06 David Malcolm <dmalcolm@redhat.com>
+ * tree-into-ssa.c (create_new_def_for): Add a checked cast.
+
+2014-11-06 David Malcolm <dmalcolm@redhat.com>
+
* tree-inline.c (remap_gimple_stmt): Introduce local "assign_stmt"
in region guarded by gimple_clobber_p (stmt) and use it in place
of "stmt" for typesafety.
@@ -2859,7 +2859,7 @@ create_new_def_for (tree old_name, gimple stmt, def_operand_p def)
if (def)
SET_DEF (def, new_name);
else
- gimple_assign_set_lhs (stmt, new_name);
+ gimple_assign_set_lhs (as_a <gassign *> (stmt), new_name);
if (gimple_code (stmt) == GIMPLE_PHI)
{