diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-10 10:12:12 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-10 10:12:12 +0000 |
commit | 6da74b219b7842cf33633f0bd037eef085d9388f (patch) | |
tree | 192789b7eba2e8aa6c3eaadfb754e1eb9d885905 /gcc/simplify-rtx.c | |
parent | 968d48a0a9eec4301d03dbedcbcd5ec60dce8440 (diff) | |
download | gcc-6da74b219b7842cf33633f0bd037eef085d9388f.tar.gz |
Remove some wide_int constructor calls. Make more use of wi::.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204628 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 8ab4454138c..fb1a27eefc8 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2223,7 +2223,7 @@ simplify_binary_operation_1 (enum rtx_code code, enum machine_mode mode, else if (GET_CODE (rhs) == MULT && CONST_INT_P (XEXP (rhs, 1))) { - negcoeff1 = -wide_int (std::make_pair (XEXP (rhs, 1), mode)); + negcoeff1 = wi::neg (std::make_pair (XEXP (rhs, 1), mode)); rhs = XEXP (rhs, 0); } else if (GET_CODE (rhs) == ASHIFT |