This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34873] New: varasm.c:3387: warning: right shift count >= width of type
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 17:53:56 -0000
- Subject: [Bug c/34873] New: varasm.c:3387: warning: right shift count >= width of type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/usr/bin/gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I.
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/.
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/../include
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/../libcpp/include
-I/there.pentium4/toolchain_build_i686/gmp/include
-I/there.pentium4/toolchain_build_i686/mpfr/include
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/../libdecnumber
-I/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/../libdecnumber/bid
-I../libdecnumber
/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/varasm.c -o varasm.o
/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/varasm.c: In function
'const_rtx_hash_1':
/there.pentium4/toolchain_build_i686/gcc-4.3.0/gcc/varasm.c:3387: warning:
right shift count >= width of type
$ /usr/bin/gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
--
Summary: varasm.c:3387: warning: right shift count >= width of
type
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
GCC build triplet: i686-linux-uclibc
GCC host triplet: i386-linux-gnu
GCC target triplet: i686-linux-uclibc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34873