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 | |
| 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
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/gcse.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6cd0af8b532..9ea747dcf1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 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 |

