Commit 51134e52 by Uros Bizjak Committed by Uros Bizjak

gcse.c (cprop_jump): Call validate_unshare_change instead of validate_change to…

gcse.c (cprop_jump): Call validate_unshare_change instead of validate_change to unshare the source...

        * gcse.c (cprop_jump): Call validate_unshare_change instead of
        validate_change to unshare the source of the PC set.

From-SVN: r131505
parent 3097760b
2008-01-13 Uros Bizjak <ubizjak@gmail.com>
* gcse.c (cprop_jump): Call validate_unshare_change instead of
validate_change to unshare the source of the PC set.
2008-01-12 Jan Hubicka <jh@suse.cz>
PR middle-end/32135
......
......@@ -2821,7 +2821,7 @@ cprop_jump (basic_block bb, rtx setcc, rtx jump, rtx from, rtx src)
to one computed by setcc. */
if (setcc && modified_in_p (new, setcc))
return 0;
if (! validate_change (jump, &SET_SRC (set), new, 0))
if (! validate_unshare_change (jump, &SET_SRC (set), new, 0))
{
/* When (some) constants are not valid in a comparison, and there
are two registers to be replaced by constants before the entire
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment