diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-22 14:55:48 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-22 14:55:48 +0000 |
commit | e80e26dbccf3025687e6ff283d3b0ea3df323e31 (patch) | |
tree | fa066c45b21e099c0fd6d70615ac22a7b64cf45a /gcc/gimple.c | |
parent | c29bc60ba5560af4a645eeab1f350b470ee09513 (diff) | |
parent | 8b450f8859f22b0d3afa8edb42f3f287400d6975 (diff) | |
download | gcc-e80e26dbccf3025687e6ff283d3b0ea3df323e31.tar.gz |
Merge with trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index 780a35042ad..25f1296a36d 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -2051,8 +2051,7 @@ gimple_call_copy_skip_args (gimple stmt, bitmap args_to_skip) { int i; int nargs = gimple_call_num_args (stmt); - vec<tree> vargs; - vargs.create (nargs); + auto_vec<tree> vargs (nargs); gimple new_stmt; for (i = 0; i < nargs; i++) @@ -2064,7 +2063,7 @@ gimple_call_copy_skip_args (gimple stmt, bitmap args_to_skip) vargs); else new_stmt = gimple_build_call_vec (gimple_call_fn (stmt), vargs); - vargs.release (); + if (gimple_call_lhs (stmt)) gimple_call_set_lhs (new_stmt, gimple_call_lhs (stmt)); |