OSDN Git Service

* tree-eh.c (do_return_redirection): Call build_gimple_modify_stmt
[pf3gnuchains/gcc-fork.git] / gcc / tree-sra.c
index 9cf2cef..7db39c4 100644 (file)
@@ -1742,7 +1742,7 @@ sra_build_assignment (tree dst, tree src)
      anyway, there's little point in making tests and/or adding
      conversions to ensure the types of src and dst are the same.
      So we just assume type differences at this point are ok.  */
-  return build2 (GIMPLE_MODIFY_STMT, void_type_node, dst, src);
+  return build_gimple_modify_stmt (dst, src);
 }
 
 /* Generate a set of assignment statements in *LIST_P to copy all