projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ec550
)
Fix useless assertion in ^ code.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 28 Mar 2011 18:08:50 +0000
(18:08 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 28 Mar 2011 18:08:50 +0000
(18:08 +0000)
From-SVN: r171619
gcc/go/gofrontend/expressions.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/expressions.cc
b/gcc/go/gofrontend/expressions.cc
index 3a6005138cdb3e72acb5febd44ffc7046c233325..7fae4e012cbd24e4328ea82b61fd9022bbc7874a 100644
(file)
--- a/
gcc/go/gofrontend/expressions.cc
+++ b/
gcc/go/gofrontend/expressions.cc
@@
-3814,7
+3814,7
@@
Unary_expression::eval_integer(Operator op, Type* utype, mpz_t uval, mpz_t val,
++obits;
size_t ocount = ((obits + HOST_BITS_PER_WIDE_INT - 1)
/ HOST_BITS_PER_WIDE_INT);
- gcc_assert(ocount <=
o
count);
+ gcc_assert(ocount <= count);
for (size_t i = 0; i < ocount; ++i)
phwi[i] = ~phwi[i];