aboutsummaryrefslogtreecommitdiff
path: root/gcc/double-int.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-03-30 09:20:54 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-03-30 09:20:54 +0000
commit5cf01d62a8747e62fa3f40d60374679dd8212b2c (patch)
tree63956b4fd03f3afcc6cb0357f52730aad5a17552 /gcc/double-int.c
parent207503fa5116448fe49b518a7f04e120bdf5b807 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r--gcc/double-int.c2
1 files changed, 1 insertions, 1 deletions
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;