This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/52786] double-int.c:231:31: error: comparison between signed and unsigned
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jul 2012 09:25:50 +0000
- Subject: [Bug other/52786] double-int.c:231:31: error: comparison between signed and unsigned
- Auto-submitted: auto-generated
- References: <bug-52786-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52786
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-06 09:25:50 UTC ---
Author: rguenth
Date: Fri Jul 6 09:25:46 2012
New Revision: 189314
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189314
Log:
2012-07-06 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52786
* double-int.c (rshift_double): Remove not
needed cast.
2012-03-28 Richard Guenther <rguenther@suse.de>
PR middle-end/50708
* double-int.h (rshift_double): Remove.
* double-int.c (lshift_double): Use absu_hwi to make count
positive.
(rshift_double): Make static, take unsigned count argument,
remove handling of negative count argument.
(double_int_rshift): Dispatch to lshift_double.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/double-int.c
branches/gcc-4_7-branch/gcc/double-int.h