Considering GCC's memory requirements, since it's unlikely that we'll ever
have an spu-elf native compiler, it-s all right when we can't match
the BITS_PER_WORD definition of 128 with a HOST_WIDE_INT type of equal or
larger width; half as wide should be enough.

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include
-I../../../gcc/gcc/../libcpp/include  -I../../../gcc/gcc/../libdecnumber
-I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  -DCLOOG_PPL_BACKEND 
-I/usr/include/libelf  ../../../gcc/gcc/final.c -o final.o
../../../gcc/gcc/final.c: In function ‘split_double’:
../../../gcc/gcc/final.c:3831:4: error: left shift count >= width of type
[-Werror]
../../../gcc/gcc/final.c:3854:4: error: right shift count >= width of type
[-Werror]
cc1: all warnings being treated as errors


-- 
           Summary: warning for split_double when HOST_BITS_PER_WIDE_INT <
                    BITS_PER_WORD
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: spu-elf
OtherBugsDependingO 44756
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44769

Reply via email to