summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c
index 2d0f320a7c7..6ac5bb32a80 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -310,7 +310,7 @@ reload_cse_simplify_set (rtx set, rtx insn)
case SIGN_EXTEND:
result = wide_int (std::make_pair (this_rtx, GET_MODE (src)));
if (GET_MODE_PRECISION (GET_MODE (src)) > GET_MODE_PRECISION (word_mode))
- result = result.sext (GET_MODE_PRECISION (word_mode));
+ result = wi::sext (result, GET_MODE_PRECISION (word_mode));
break;
default:
gcc_unreachable ();