diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-13 12:13:35 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-13 12:13:35 +0000 |
commit | 3e179c53d291cb0090cfd02adb8a5fc12ae8a40d (patch) | |
tree | f136a839a1462b59acc5846930a8b873d7c36efc /gcc/gcse.c | |
parent | b513c084e57377599a1307298685dd21e0152b50 (diff) | |
download | ppe42-gcc-3e179c53d291cb0090cfd02adb8a5fc12ae8a40d.tar.gz ppe42-gcc-3e179c53d291cb0090cfd02adb8a5fc12ae8a40d.zip |
* gcse.c (cprop_jump): Call validate_unshare_change instead of
validate_change to unshare the source of the PC set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index db7e03c03d9..8cb5d386702 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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 |