diff options
author | Richard Guenther <rguenther@suse.de> | 2012-03-30 09:20:54 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-03-30 09:20:54 +0000 |
commit | 5cf01d62a8747e62fa3f40d60374679dd8212b2c (patch) | |
tree | 63956b4fd03f3afcc6cb0357f52730aad5a17552 | |
parent | 207503fa5116448fe49b518a7f04e120bdf5b807 (diff) | |
download | gcc-5cf01d62a8747e62fa3f40d60374679dd8212b2c.zip gcc-5cf01d62a8747e62fa3f40d60374679dd8212b2c.tar.gz gcc-5cf01d62a8747e62fa3f40d60374679dd8212b2c.tar.bz2 |
re PR other/52786 (double-int.c:231:31: error: comparison between signed and unsigned)
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52786
* double-int.c (rshift_double): Remove not needed cast.
From-SVN: r186000
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/double-int.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6518c69..d461d54 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 0f95442..d0fde0e 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; |