mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 23:51:18 +08:00
var-tracking.c (add_stores): Return instead of asserting if old and new values for conditional store are the...
* var-tracking.c (add_stores): Return instead of asserting if old and new values for conditional store are the same. From-SVN: r212178
This commit is contained in:
parent
5796bf3422
commit
0ca5983055
@ -1,3 +1,8 @@
|
||||
2014-06-30 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* var-tracking.c (add_stores): Return instead of asserting if old
|
||||
and new values for conditional store are the same.
|
||||
|
||||
2014-06-30 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR rtl-opt/61608
|
||||
|
@ -6016,7 +6016,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
|
||||
{
|
||||
cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0, VOIDmode);
|
||||
|
||||
gcc_assert (oval != v);
|
||||
if (oval == v)
|
||||
return;
|
||||
gcc_assert (REG_P (oloc) || MEM_P (oloc));
|
||||
|
||||
if (oval && !cselib_preserved_value_p (oval))
|
||||
|
Loading…
x
Reference in New Issue
Block a user