aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index db7e03c..8cb5d38 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