diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-06-22 18:21:25 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-06-22 18:21:25 +0000 |
commit | 8d2adc244b117d1560a75caf39b0698eeb6c96ef (patch) | |
tree | e85874c9f8f854e3483015176601bba12e52e10c /gcc/tree-inline.c | |
parent | ca3e07b4edd28f5c643dd4a601d51db135fde67b (diff) | |
download | gcc-8d2adc244b117d1560a75caf39b0698eeb6c96ef.zip gcc-8d2adc244b117d1560a75caf39b0698eeb6c96ef.tar.gz gcc-8d2adc244b117d1560a75caf39b0698eeb6c96ef.tar.bz2 |
cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Chain the new statement and adjust VDEF only if necessary.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Chain the
new statement and adjust VDEF only if necessary. Remove superfluous
call to maybe_clean_or_replace_eh_stmt.
* gimple.c (gimple_call_copy_skip_args): Use gimple_call_copy_flags to
copy the flags.
* gimple-iterator.c (gsi_replace): Clear BB of old statement here...
* tree-inline.c (copy_bb): ...and not there.
From-SVN: r161221
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index b241a21..0b6a7d2 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1604,7 +1604,6 @@ copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, gimple_call_set_lhs (new_call, gimple_call_lhs (stmt)); gsi_replace (©_gsi, new_call, false); - gimple_set_bb (stmt, NULL); stmt = new_call; } else if (is_gimple_call (stmt) |