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
This commit is contained in:
Richard Guenther 2012-03-30 09:20:54 +00:00 committed by Richard Biener
parent 207503fa51
commit 5cf01d62a8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;