This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Invalid right shift in genautomata.c
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 May 2002 19:02:03 +0100
- Subject: 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.