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]

Invalid right shift in genautomata.c


When compiling an i960-wrs-vxworks cross compiler I get

gcc -c -DIN_GCC -DCROSS_COMPILE    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc
-I../../gcc/. -I../../gcc/config -I../../gcc/../include
../../gcc/genautomata.c -o genautomata.o
../../gcc/genautomata.c: In function `reserv_sets_hash_value':
../../gcc/genautomata.c:3419: warning: right shift count >= width of
type

IMO this is a bug and should be fixed.

Neil.


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