aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/rust-gcc.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index c8eee0f..66fd8bc 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -1840,9 +1840,6 @@ Gcc_backend::call_expression (tree fn, const std::vector<tree> &fn_args,
ret = build1_loc (location.gcc_location (), NOP_EXPR, rettype, ret);
}
- if (!TREE_SIDE_EFFECTS (ret))
- TREE_SIDE_EFFECTS (ret) = TREE_SIDE_EFFECTS (fndecl);
-
delete[] args;
return ret;
}