This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/52786] double-int.c:231:31: error: comparison between signed and unsigned


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]