summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-30 09:20:54 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-30 09:20:54 +0000
commit24a49f0011e9381e5bfccff8d4c0b5aeb7ad4a95 (patch)
tree63956b4fd03f3afcc6cb0357f52730aad5a17552
parentb4d9f546f8d416691223180dbfa09bfc6553193a (diff)
downloadgcc-24a49f0011e9381e5bfccff8d4c0b5aeb7ad4a95.tar.gz
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52786 * double-int.c (rshift_double): Remove not needed cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186000 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/double-int.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6518c699241..d461d546e10 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2012-03-30 Richard Guenther <rguenther@suse.de>
+ PR middle-end/52786
+ * double-int.c (rshift_double): Remove not needed cast.
+
+2012-03-30 Richard Guenther <rguenther@suse.de>
+
* tree-affine.h (print_aff): Remove.
* tree-affine.c (print_aff): Make static.
* tree-data-ref.h (access_matrix_get_index_for_parameter): Remove.
diff --git a/gcc/double-int.c b/gcc/double-int.c
index 0f954425093..d0fde0ed89f 100644
--- a/gcc/double-int.c
+++ b/gcc/double-int.c
@@ -228,7 +228,7 @@ rshift_double (unsigned HOST_WIDE_INT l1, HOST_WIDE_INT h1,
/* Zero / sign extend all bits that are beyond the precision. */
- if (count >= (HOST_WIDE_INT)prec)
+ if (count >= prec)
{
*hv = signmask;
*lv = signmask;