Commit c76187f7 authored by rguenth's avatar rguenth
Browse files

2005-12-02 Richard Guenther <rguenther@suse.de>

	* trans.c (gnat_gimplify_expr): Use buildN instead of build.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107905 138bc75d-0d04-0410-961f-82ee72b054a4
parent 4d996ee8
2005-12-02 Richard Guenther <rguenther@suse.de>
* trans.c (gnat_gimplify_expr): Use buildN instead of build.
2005-12-01 Roger Sayle <roger@eyesopen.com>
 
* utils.c (max_size): Only test for TREE_OVERFLOW on INTEGER_CST
......
......@@ -4632,7 +4632,7 @@ gnat_gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p ATTRIBUTE_UNUSED)
&& TREE_CODE_CLASS (TREE_CODE (op)) != tcc_constant)
{
tree new_var = create_tmp_var (TREE_TYPE (op), "A");
tree mod = build (MODIFY_EXPR, TREE_TYPE (op), new_var, op);
tree mod = build2 (MODIFY_EXPR, TREE_TYPE (op), new_var, op);
TREE_ADDRESSABLE (new_var) = 1;
......
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