This is the mail archive of the gcc@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]

[BUILDROBOT] spu: left shift of negative value


Hi!

I just noticed that (for config_list.mk builds), current GCC errors
out at spu.c, see eg. build
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=469639 :

g++ -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include  -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../gcc/gcc/../libbacktrace   -o spu.o -MT spu.o -MMD -MP -MF ./.deps/spu.TPo ../../../gcc/gcc/config/spu/spu.c
../../../gcc/gcc/config/spu/spu.c: In function âvoid spu_expand_insv(rtx_def**)â:
../../../gcc/gcc/config/spu/spu.c:530:46: error: left shift of negative value [-Werror=shift-negative-value]
       maskbits = (-1ll << (32 - width - start));
                                              ^
../../../gcc/gcc/config/spu/spu.c:536:46: error: left shift of negative value [-Werror=shift-negative-value]
       maskbits = (-1ll << (64 - width - start));
                                              ^
cc1plus: all warnings being treated as errors
Makefile:2092: recipe for target 'spu.o' failed
make[2]: *** [spu.o] Error 1
make[2]: Leaving directory '/home/jbglaw/build-configlist_mk/spu-elf/build-gcc/mk/spu-elf/gcc'


-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:               http://www.eyrie.org/~eagle/faqs/questions.html
the second  :

Attachment: signature.asc
Description: Digital signature


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