diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2008-01-13 13:13:35 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-01-13 13:13:35 +0100 |
commit | 51134e52b515e2bbd0e72ca7535aeebb339337e1 (patch) | |
tree | f136a839a1462b59acc5846930a8b873d7c36efc /gcc/gcse.c | |
parent | 3097760b308aff6ac9f037495a1ea06255409e15 (diff) | |
download | gcc-51134e52b515e2bbd0e72ca7535aeebb339337e1.zip gcc-51134e52b515e2bbd0e72ca7535aeebb339337e1.tar.gz gcc-51134e52b515e2bbd0e72ca7535aeebb339337e1.tar.bz2 |
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
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |