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]

combine.c:1670: warning: left shift count >= width of type



Hi Alexandre,

is your change to combine really correct?  On i686-linux I get now:

/cvs/gcc/gcc/combine.c: In function `try_combine':
/cvs/gcc/gcc/combine.c:1670: warning: left shift count >= width of type
/cvs/gcc/gcc/combine.c:1680: warning: left shift count >= width of type
/cvs/gcc/gcc/combine.c:1681: warning: left shift count >= width of type
/cvs/gcc/gcc/combine.c:1682: warning: left shift count >= width of type

Andreas

P.S. This change seems to be the culprit:

2001-01-30  Alexandre Oliva  <aoliva@redhat.com>

        * combine.c (try_combine): Fix SUBREG setting for
        HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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