* recog.c (validate_change_rtx_1): Unshare TO argument.

From-SVN: r126112
This commit is contained in:
Jan Hubicka 2007-06-29 12:41:48 +02:00 committed by Jan Hubicka
parent b40c4f6816
commit 29fbecf33f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-29 Jan Hubicka <jh@suse.cz>
* recog.c (validate_change_rtx_1): Unshare TO argument.
2007-06-29 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/24659

View File

@ -538,7 +538,7 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object)
|| (GET_CODE (x) == GET_CODE (from) && GET_MODE (x) == GET_MODE (from)
&& rtx_equal_p (x, from)))
{
validate_change (object, loc, to, 1);
validate_unshare_change (object, loc, to, 1);
return;
}