gimple-fold.c (gimple_fold_call): Properly keep virtual SSA form up-to-date when...
2014-10-15 Richard Biener <rguenther@suse.de> * gimple-fold.c (gimple_fold_call): Properly keep virtual SSA form up-to-date when devirtualizing a call to __builtin_unreachable and avoid fixing up EH info here. From-SVN: r216266
This commit is contained in:
parent
42630ea643
commit
42e52a51c4
|
@ -1,3 +1,9 @@
|
|||
2014-10-15 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gimple-fold.c (gimple_fold_call): Properly keep virtual
|
||||
SSA form up-to-date when devirtualizing a call to
|
||||
__builtin_unreachable and avoid fixing up EH info here.
|
||||
|
||||
2014-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
|
||||
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
||||
Anna Tikhonova <anna.tikhonova@intel.com>
|
||||
|
|
|
@ -2629,7 +2629,11 @@ gimple_fold_call (gimple_stmt_iterator *gsi, bool inplace)
|
|||
gsi_insert_before (gsi, new_stmt, GSI_NEW_STMT);
|
||||
}
|
||||
else
|
||||
gsi_replace (gsi, new_stmt, true);
|
||||
{
|
||||
gimple_set_vuse (new_stmt, gimple_vuse (stmt));
|
||||
gimple_set_vdef (new_stmt, gimple_vdef (stmt));
|
||||
gsi_replace (gsi, new_stmt, false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue