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

Andreas Jaeger aj@suse.de
Tue Feb 13 01:43:00 GMT 2001


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



More information about the Gcc-bugs mailing list